Comment on Managing your Script

Nithin Kamath commented on 06 May 2013, 02:40 PM

Buy:
SET B = REF (CLOSE, 1) – (0.275 * (REF (HIGH, 1) – REF (LOW, 1)))
OPEN > (B + 10) OR OPEN < (B – 10) OR cLOSE < (REF(CLOSE, 1) – (0.55 * (REF (HIGH, 1) – REF(LOW, 1)))) + 5

Buy exit:
SET BT = REF (CLOSE, 1) + (0.275 * (REF (HIGH, 1) – REF (LOW, 1)))
Close > BT OR CLOSE < (REF (CLOSE, 1) + (0.786 * (REF (HIGH, 1) – REF (LOW, 1)))) OR CLOSE < (REF (CLOSE, 1) + (1.45 * (REF (HIGH, 1) – REF (LOW, 1))))

Sell:
SET S = REF (CLOSE, 1) + (0.275 * (REF (HIGH, 1) – REF (LOW, 1)))
cLOSE < (REF(CLOSE, 1) – (0.55 * (REF (HIGH, 1) – REF(LOW, 1)))) – 5 OR OPEN > (S+10) OR OPEN < (S – 10)

Sell exit:
SET ST = REF (CLOSE, 1) – (0.275 * (REF (HIGH, 1) – REF (LOW, 1)))
CLOSE < ST OR CLOSE < (REF (CLOSE, 1) – (0.786 * (REF (HIGH, 1) – REF (LOW, 1)))) OR CLOSE < (REF (CLOSE, 1) – (1.45 * (REF (HIGH, 1) – REF (LOW, 1))))

View the full comment thread »