指定
Dear Friends,
I want to have an EA with the following specifications :
Explanation :
It should check, if the prices are crossing up/down the last fractal in the desired time period (eg. H4). After that, it should check if the last bar closing , in an other time period, is above/below that fractal level (eg. H1). If the second time period is given as "0" (input parameters), than this double check is not needed. Than this situation needs to be supported with a trend filter. What I can think about is : Is this fractal below the Alligators MAs , whilst Jaw,Teeth, Lips, they all are not crossing and showing downwards ( or above vice versa).
If all these conditions are OK, Than open a buy/sell order depending on the trend direction. In our case (Let's say it is an up-trend) :
1-Price goes up higher than last H4 fractal.
2-The bar in H1 closes at or above that level.
3-All MAs of Alligator is showing upwards and non of them is crossing another one.
4-The fractal is above the alligator
This is a buy order. Sell would be just the opposite of the conditions.
Needed Input Parameters :
1-Desired fractal period should be asked . (eg H4 etc.)
2-Second time period for double check eg H1. If the value "0" is given, than this check is not needed.
3-Order size 2 digits after point ( eg. 0.03 Lot)
4-S/L and T/P in points. If zero, default S/L and T/P is as following. S/L is the difference in points between that fractal and the last one in the opposite direction. Default T/P is sama points amount in trade direction.
5-Scalping Yes/No . If yes, T/P is 1xATR, S/L is 1.5xATR