Forum

NY SESSION Trading Strategy

Hi master traders! I'm a trying to code a strategy with the following rules: (I'm a beginner in coding) Buy if the opening candle in the NY session is above MA20. Sell if the opening candle in the NY session is below MA20. My problem is that the New York session opening time changes twice a year (in

My EA is not trading anything.

Hi. I'm trying to learn to code. I'm attempting to code a moving average crossover, but when I ran it through Strategy Tester , no trade was open. I followed a few YouTube videos when writing this code. I know there are a lot of master coders here. Can you please tell me my errors