![]() ![]() This is the last state of creating your expert advisor.When everything is set, open this tab and generate your code.When the code is ready copy it and paste it in your MetaEditor, compile it and you can start using your Expert Advisor in your MetaTrader platform.You can download the Builder from this page. Use Short Positions : here you can set if you want to use short positions or not. Use Long Positions : here you can set if you want to use long positions or not. If you choose higher value, you must set it higher than your broker stops value.Usually (1.5 - 2) times the Spread for most of the brokers. If you don't want to use this setting, leave it 0. Trailing Stop: this is the Trailing Stop value for your positions.It will activate when your position is with higher profit than the value set in the box. Take Profit: this is the stoploss value for your positions. ![]() Stop Loss: this is the stoploss value for your positions. Lots: this is the base lot for the trading system.All positions will be opened with this volume. All the positions opened from your Expert Advisor will be with the same ID and the expert advisor will manage only them.So you can trade or use other expert advisor at the same symbol.It is good to choose different number for each trading system. In this section you must select your settings for your Expert AdvisorĮxpert Magic Number: this is your expert advisor unique ID number. The exit for the position can be its stoploss and takeprofit. If you want, you can fill only the entry rule for open long positions, and leave the rest of the rules empty. There we will choose close, with shift 1 (previous), < (lower) and close with shift 2 for the pre-prevoius value. There will appear the next rule elements. Now to add the second rule we must press the button Add. ![]() So we open the "Open Buy" tab and in the first box, we select hour, we choose "=" and in the last box we will choose value, and there we will type 16.So this is our first rule. We want to open buy when the hour is 14:00, and the previous close is lower than the pre-previous. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |