Hello everyone,
I’m developing an EA in FXDreema to trade during the New York session, and I’ve encountered an issue that I can’t seem to resolve. The EA is supposed to do the following:
Draw a rectangle to mark the New York session and another rectangle for the first 30 minutes of the session (from 9:00 AM to 9:30 AM).
Identify and mark the high and low reached during those first 30 minutes.
After the first 30 minutes, place a pending buy order at the high level and a pending sell order at the low level.
Implement risk management with a 1:3 risk-to-reward ratio, activating the breakeven when the price reaches a 1:2 level.
My problem is that I’m not sure how to make the EA correctly take these high and low levels to place the pending orders and trade based on the breakout of one of these levels. I would greatly appreciate any guidance or suggestions to help solve this challenge.
Thank you so much for your help!


