Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 17 Jun 2013, 07:25 AM

WPR (14) > – 80 AND REF (WPR (14), 1) < -80 – this means it was less than -80 in the previous candle and greater than -80 in the current candle.
Heikin Ashi code is the same, which was given earlier. If you want the signals in between the interval instead of waiting for the close, you should tick the checkbox for evaluate as tick in live (alert preference) window.

For sell expression: WPR (14) < – 20 AND REF (WPR (14), 1) > -20

Your buy exit and sell exit is similar to your buy/sell expression, so you could just mention a 0.

View the full comment thread »