I want to write an EA but I need to know how to analyze the 3 previous bars every time a new bar opens...I just need to know if the 3 bars are all bullish...I can add the code I need from there...Any examples would be great...Thanks
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- execute order after candlestick closes
- Code to find the open and close price of previous bar
SugarLandFX:
I want to write an EA but I need to know how to analyze the 3 previous bars every time a new bar opens...I just need to know if the 3 bars are all bullish...I can add the code I need from there...Any examples would be great...Thanks
if(Open[1]<Close[1]&&Open[2]<Close[2]&&Open[3]<Close[3]) bool bullis =true;
I want to write an EA but I need to know how to analyze the 3 previous bars every time a new bar opens...I just need to know if the 3 bars are all bullish...I can add the code I need from there...Any examples would be great...Thanks
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register