Forum

Envelope Scalper EA - 5 min

I was debating whether or not I should share this. I finally decided that I would because I believe several improvements can be made upon it. This EA has been extremely profitable in backtests going back 7 years. It has ran into some problems in the last month or so and the equity curve has been

Flip Parameters

Can anyone here take the MACD Sample EA and flip the buy/sell parameters so that it sells when it would normally buy and buy when it would normally sell? Your help would be much appreciated. Thank you

Trade only certain times of day?

I have an EA that I want to trade only certain times of day. The EA is designed to trade only between 18 and 23 GMT and 0 to 9 GMT, but I can't seem to get it working correctly. I can get it trade between 18 and 23, but it won't generate any trades between 0 and 9. Here is part of the code