PDA

View Full Version : Help with MQL4 WPR code Almost got it!



Bllke
03-11-2019 01:06, 01:06 AM
Hello,

I'm just trying to use a simple indior such as Willi Twist Range (WPR) to enter and exit transactions.

The code seems to be working fine however, the entrance conditions need to be altered but I don't know how to get it done.

At this time, it sells if the WPR goes above -20 and buys as it goes below -80.

I want it to market as it crosses BELOW -20 (from above) and buy as it crosses ABOVE -80 (from underneath ).

The WPR indior signs are taken on H4.

Any help is very much appreciated.
https://www.nigeriaforextrading.com/attachments/1518556619629780561.mq4