Comment on Code your Technical Analysis strategy

Nanu commented on 17 May 2013, 11:53 AM

Here is my idea that may be of help. Please modify it into workable Code

LONG EXIT
SET A= if(BUY= TRUE, HIGH, 0 ) \ When Buy happens intialize A with current HIGH
SET A = if( HIGH >REF(HIGH,1) , HIGH, A)

CLOSE <= A*0.01

View the full comment thread »