[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TS 4 EL Question



PureBytes Links

Trading Reference Links

I'd like to add the Kase Dev Stop indicator to my system code as an exit.  

Also, I'd like to be able to optimize the system to see which of the three 
works best.
Dev1, 2 or 3.

Below is the indicator code.  Thanks in advance for any help with this as my 
EL skills are pretty limited.  Vince

{KDevStops}

Inputs : L1( 30 ) , v1( 2.2 ) , v2( 3.6 ) , L2( 10 ) , L3( 21 ) , p1( close 
), p2( high ),p3( low ) ;

if K.XDev(  L1 , 0 , L2 , L3 , P1 , P2 , p3 ) > (  p3 / 2  ) then begin

   Plot1(K.XDev( L1 ,   0 , L2 , L3 , P1 , P2 , p3 ),"warning");
   Plot2( K.XDev( L1 ,   1 , L2 , L3 , P1 , P2 , p3 ) , "Dev1");
   Plot3( K.XDev( L1 , v1 , L2 , L3 , P1 , P2 , p3 ) ,"Dev2");
   Plot4( K.XDev( L1 , v2 , L2 , L3 , P1 , P2 , p3 ) ,"Dev3");
end;