molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming http://www.molanis.com/forum/ |
|
some clarification re inputs http://www.molanis.com/forum/viewtopic.php?f=14&t=194 |
Page 1 of 1 |
Author: | Blaiserboy [ Thu Dec 16, 2010 3:41 am ] | ||
Post subject: | some clarification re inputs | ||
I am attaching a snag with arrows drawn to some places on the inputs page. Could you clarify how each of those work....... I do not have any idea as to what the 'B_Symbol_LS_0' would refer to. And of course I would like to learn how to use the money management tools. Thanks.
|
Author: | molanisfx [ Thu Dec 16, 2010 10:58 am ] |
Post subject: | Re: some clarification re inputs |
For the first 2 arrows. The fields are used to decrease the lot size after a loss. The type is used to select and automatic step (reduction at a % value) or a fixed amount. Look at page 13 of the Strategy Builder for mt4 user guide - it has the general guidelines used in MT5. Sorry we still do not have documentation for mt5. B_Symbol_LS_0 is a variable to backtest the lot size of Buy B=buy Symbol=symbol (could be a pair i.e. EURUSD) LS lot= size You can also find: TP= take profit SL= stop loss |
Author: | Blaiserboy [ Thu Dec 16, 2010 11:34 am ] |
Post subject: | Re: some clarification re inputs |
molanisfx wrote: For the first 2 arrows. The fields are used to decrease the lot size after a loss. The type is used to select and automatic step (reduction at a % value) or a fixed amount. Look at page 13 of the Strategy Builder for mt4 user guide - it has the general guidelines used in MT5. Sorry we still do not have documentation for mt5. B_Symbol_LS_0 is a variable to backtest the lot size of Buy B=buy Symbol=symbol (could be a pair i.e. EURUSD) LS lot= size You can also find: TP= take profit SL= stop loss I think you said I can include a symbol name in that space or several symbol names...? Slowly but surely i will catch on.... |
Author: | molanisfx [ Fri Dec 17, 2010 10:00 am ] |
Post subject: | Re: some clarification re inputs |
The Symbol on B_Symbol_LS_0 means that in your strategy you use current symbol - so it works for any symbol. If in the startegy builder you add a BUY icon and select a pair like EURUSD, the generated variable will be: B_EURUSD_LS_0 You make the changes in the strategy builder, not in the code |
Author: | Blaiserboy [ Fri Dec 17, 2010 10:45 am ] |
Post subject: | Re: some clarification re inputs |
molanisfx wrote: The Symbol on B_Symbol_LS_0 means that in your strategy you use current symbol - so it works for any symbol. If in the startegy builder you add a BUY icon and select a pair like EURUSD, the generated variable will be: B_EURUSD_LS_0 You make the changes in the strategy builder, not in the code Use multiple 'Buy' Icons.? |
Author: | molanisfx [ Fri Dec 17, 2010 4:23 pm ] |
Post subject: | Re: some clarification re inputs |
Each buy icon (and sell icon) will generate its own variable in mt4. If you use 2 buy icons, you will have 2 mt4 variables that you can use in backtesting. Pair Variables, The builder automatically creates variables for each currency pair included in the forex strategy. These variables contain values for lot size (LS), take profit (TP), stop loss (SL) and trailing stops (TS). I.e. For a EURCAD strategy, typical values include : S_EURCAD_LS_0, S_EURCAD_TP_0, S_EURCAD_SL_0, S_EURCAD_TS_0, B_EURCAD_LS_0, B_EURCAD_TP_0, etc Pair variables are constructed using the following standard: Order Type First letter (Buy or Sell) + Currency Pair + Variable Use (LS, TP, SL, TS) + Reference Number i.e. S_EURCAD_LS_0 is a variable for a Sell order, for EURCAD, and has the value for the Lot Size. B_EURCAD_TP_0 is a variable for a Buy order, for EURCAD, containing the Take Profit Value. Use these variables to optimize your EA when back‐testing your strategy in MetaTrader |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |