EA31337 / Strategy-Envelopes

Strategy based on the Envelopes indicator.
https://github.com/EA31337/EA31337
1 stars 4 forks source link

Envelopes strategy just open buy position #6

Open mavidelisi opened 1 year ago

mavidelisi commented 1 year ago

Hi Kenorb ;

when i test robot for envelope strategy regardless timeframe , it just open buy position , not sell position.

Thanks.

kenorb commented 1 year ago

What's the platform version and period you're testing? Which timeframe you're assigning Envelopes strategy?

mavidelisi commented 1 year ago

Alpari Mt4 Version 4.00 build 1384 and M15, M30 and H1 Envelope Strategy and H1 SAR Stop . Last version Advanced and Rider EA used.

Thanks.

mavidelisi commented 1 year ago

In the same way; all Symbols ,EURUSD, GBPUSD, USDJPY etc. all parameters are the same, only the strategy was chosen Zigzag. He's just opening a buying position again. Not open sell

kenorb commented 1 year ago

So I think Open signal filter 4 (related to Pivot checking) makes the difference.

In general Envelopes should trade both directions, but due to filtering, it may seems it's not. Envelopes indicator already providing very smooth values, so it may not work with all filters.

The conditions for opening the trades can be found at https://github.com/EA31337/Strategy-Envelopes/blob/v1.012/Stg_Envelopes.mqh#L106-L127. I think they're fine, but I'll double check them on the next version, if I can improve anything.

For now, you can change the value for open filters to less restrictive, so it should start trading.

kenorb commented 1 year ago

Fixed in 12ecdb73730ea5ad855c629c7bdee87f51bad8c5. Now signal for shorts vs longs is more balanced.