Comment on Code your Technical Analysis strategy

Hanan commented on 11 Oct 2013, 11:43 AM

—Initiate long when the close is above 3day high average ( 3 HMA) and 3 day close average ( 3SMA) crosses above 8 day close average ( 8 SMA). (stop loss 3 day low average)— => (((DHIGH(1) + DHIGH(2) + DHIGH(3)) / 3) < close) and ((sma(close, 3) > sma(close, 8)) SL 3 day’s low: (DLOW(1) + DLOW(2) + DLOW(3)) / 3 this could be profit booking also, you can define the sl when you go live. Initiate short when the close is below 3day low average ( 3 LMA) and 3 day close average ( 3 SMA) crosses below 8 day close average ( 8 SMA). (stop loss 3 day high average)
=> (((DLOW(1) + DLOW(2) + DLOW(3)) / 3) > close) and (sma(low, 3) < sma(close, 8)) SL 3 day’s high: (DHIGH(1) + DHIGH(2) + DHIGH(3)) / 3 this could be profit booking also, you can define the sl when you go live. Requesting you to backtest the strategies before going live.

View the full comment thread »