one condition for both Buy and Sell entry
-
hi, can someone help me please.
i would like to add condition to my strategy. e.g buy when MA 13 crosses above MA 43 also sell when MA 13 crosses above MA 43. i try putting condition in different location but the strategy end up not working. on its own it is working perfect just want to add indicator. https://fxdreema.com/shared/ALkHG6BBd .
Thanks in advance. -
@lali Are you sure you want a buy and a sell at the exact same crossing conditions? On the otherhand, your project does not include any launching block.
-
This EA does not have condition to start it. it just start any how, but now, but
I would like to include some condition. But it will follow one condition for all buy and sell.
Only one condition for Buy, if it hit TP, it will Sell with the same condition of Buy, then it means now I have sell on my next order. I will have buy sell buy sell. but i will enter only on Buy condition. I hope you understand this.
thanks -
@lali Are you talking about a martingale? I'm not sure. Will there be only one open trade at a time?
-
yes one trade at a time.
thanks -
@lali Then you will need a structure like this:
https://fxdreema.com/shared/6o0uTdg3e
It is a complex one if you are not familiar with the use of variables.
-
true it is complex, i am very new to thi i do not understand it. will you please explain your variables you used i do not understand them, English words for them.
Thanks -
@lali Orange constants are the input parameters used to set the initial conditions whereas blue variables are used to do all math required for the EA to work. You can find more info here:
https://fxdreema.com/instructions/builder/constants-and-variables