Experts: Exp_Delta_WPR

 

Exp_Delta_WPR:

The Exp_Delta_WPR Expert Advisor is based on the Delta_WPR indicator color change.

Fig1. Examples of deals on the chart

Author: Nikolay Kositsin

 

Can you tell me how to make this Expert Advisor close orders (without setting a stop loss, but with the appearance of a bar of the opposite colour)?

Thank you!


 
A. Forex:

Can you tell me how to make this Expert Advisor close orders (without setting a stop loss, but with the appearance of a bar of the opposite colour)?

Thank you!


Make stoplosses and take-outs equal to zero.
 
Nikolay Kositsin:
Make stoplosses and takeouts equal to zero.

Thanks Nikolai!

It doesn't work. Maybe I'm setting something wrong... If you have time, please take a look at the attached screens. Thank you!

Files:
deltawpr2.jpg  152 kb
deltawpr1.jpg  727 kb
 
A. Forex:

Thank you Nikolai!

It's not working. Maybe I'm setting something wrong... If you have time, please take a look at the attached screens. Thank you!

The whole thing is that originally everything was made for trading with only one position, and later this rule was changed. Get the TradeAlgorithms.mqh includnik from my last posts.
 
Nikolay Kositsin:
The point is that originally everything was made for trading with only one position, but later this rule was changed. Get the TradeAlgorithms.mqh includnik from my last publications. Thanks.

Everything works. Thank you very much :)

P.S. Exp_Delta_WPR should be recompiled for the new version of TradeAlgorithms.mqh.

 
All inputs/parameters are in russian. Why post it with an english description?
 
marthaboetiek #:
All inputs/parameters are in russian. Why post it with an english description?

Because it's free.

Feel free to translate it and share with the Community.