Hi waltini1,
I looked into your code and it looks promising.
After reading a post endroute post earlier today, I understand that you set the buy rule to cross below the lower green band and opposite for the sell. You don't check if it crossed back. I think it is right, but it will be great if endroute will give his opinion about it.
endroute wrote "In terms of when the EMA cross happens you have must have the cross above the upper or lower band, depending on long vs short. If for example I am using the green upper band I want price to cross above the green upper band before i start looking for ema crosses, I want the ema cross to be right around or above the green line, if it is just below the green line it is ok too to place a short trade."
BTW, can you consider creating an indicator that just alerts when there is a good setup ?
BR
Dani M.
I looked into your code and it looks promising.
After reading a post endroute post earlier today, I understand that you set the buy rule to cross below the lower green band and opposite for the sell. You don't check if it crossed back. I think it is right, but it will be great if endroute will give his opinion about it.
endroute wrote "In terms of when the EMA cross happens you have must have the cross above the upper or lower band, depending on long vs short. If for example I am using the green upper band I want price to cross above the green upper band before i start looking for ema crosses, I want the ema cross to be right around or above the green line, if it is just below the green line it is ok too to place a short trade."
BTW, can you consider creating an indicator that just alerts when there is a good setup ?
BR
Dani M.
DislikedHi 4xWeezal,
I took a stab at the ea and it seems to work ok. I haven't put anything fancy in it yet and I am just using a Take Profit and StopLoss.
Maybe we can put something together if it helps.
Of course I can't do anything about the repainting but the entries are correct at the time.Ignored