Please suggest what do I need to change on this code? Idea for code is to place at last bars one BuyStop at high and one SellStop at low. This code is just adding SellStops. extern double lot = 0.1; datetime PreviousBar; // record the candle/bar time
Have some issues to get previous bar high price. I can not figure out how to shift it. int e; Print("Current bar for EURUSD D1: Time ", iTime(NULL,PERIOD_D1,e),", Open ", iOpen(NULL,PERIOD_D1,e),", High "
Hei..I want to start with programming one EA. I have tried to start with EA programming but I am getting lost alone. First thing I want EA to do is Open a trade on (defined) timeframe candle open