molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun Apr 28, 2024 4:46 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: some clarification re inputs
PostPosted: Thu Dec 16, 2010 3:41 am 
Offline

Joined: Mon Oct 11, 2010 7:45 am
Posts: 13
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.


Attachments:
daveM - SNAG-00080.png
daveM - SNAG-00080.png [ 24.86 KiB | Viewed 9562 times ]
Top
 Profile  
 
 Post subject: Re: some clarification re inputs
PostPosted: Thu Dec 16, 2010 10:58 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
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


Top
 Profile  
 
 Post subject: Re: some clarification re inputs
PostPosted: Thu Dec 16, 2010 11:34 am 
Offline

Joined: Mon Oct 11, 2010 7:45 am
Posts: 13
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....


Top
 Profile  
 
 Post subject: Re: some clarification re inputs
PostPosted: Fri Dec 17, 2010 10:00 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
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


Top
 Profile  
 
 Post subject: Re: some clarification re inputs
PostPosted: Fri Dec 17, 2010 10:45 am 
Offline

Joined: Mon Oct 11, 2010 7:45 am
Posts: 13
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.?


Top
 Profile  
 
 Post subject: Re: some clarification re inputs
PostPosted: Fri Dec 17, 2010 4:23 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009