Hey guys,
Would someone be so kind as to tell me how to make my EA trade only on the 1st and 2nd bar after an MA cross? Here is the block of code that im assuming is relevant. Either way i attached the full code so hoping for some quick advice!
if (Buy1_1 > Buy1_2 && Buy2_1 >= Buy2_2) Order = SIGNAL_BUY;
if (Sell1_1 < Sell1_2 && Sell2_1 <= Sell2_2) Order = SIGNAL_SELL;
My question after this will be how to simply add one last trade filter using a custom indicator, and where the hell to put it! RR has tried to help me, but i kinda need to be spoonfed...
Thanks alot for any help offered.
MM
Would someone be so kind as to tell me how to make my EA trade only on the 1st and 2nd bar after an MA cross? Here is the block of code that im assuming is relevant. Either way i attached the full code so hoping for some quick advice!
if (Buy1_1 > Buy1_2 && Buy2_1 >= Buy2_2) Order = SIGNAL_BUY;
if (Sell1_1 < Sell1_2 && Sell2_1 <= Sell2_2) Order = SIGNAL_SELL;
My question after this will be how to simply add one last trade filter using a custom indicator, and where the hell to put it! RR has tried to help me, but i kinda need to be spoonfed...
Thanks alot for any help offered.
MM
Attached File(s)
YourExpertAdvisor.ex4
8 KB
|
166 downloads
"If it bleeds ... we can kill it"