Comment on Code your Technical Analysis strategy

Nithin Kamath commented on 11 May 2013, 08:21 AM

Harish,

Sorry for the delay:

Buy:

CLOSE > DHIGH(2) AND (HIGH – LOW) < (REF (HIGH, 1) – REF (LOW, 1)) AND (HIGH – LOW) < (REF (HIGH, 2) – REF (LOW, 2)) AND (HIGH – LOW) < (REF (HIGH, 3) – REF (LOW, 3)) AND (HIGH – LOW) < (REF (HIGH, 4) – REF (LOW, 4)) AND (HIGH – LOW) < (REF (HIGH, 5) – REF (LOW, 5)) AND (HIGH – LOW) < (REF (HIGH, 6) – REF (LOW, 6))

Sell:

CLOSE < DLOW(2) AND (HIGH – LOW) < (REF (HIGH, 1) – REF (LOW, 1)) AND (HIGH – LOW) < (REF (HIGH, 2) – REF (LOW, 2)) AND (HIGH – LOW) < (REF (HIGH, 3) – REF (LOW, 3)) AND (HIGH – LOW) < (REF (HIGH, 4) – REF (LOW, 4)) AND (HIGH – LOW) < (REF (HIGH, 5) – REF (LOW, 5)) AND (HIGH – LOW) < (REF (HIGH, 6) – REF (LOW, 6))

View the full comment thread »