Robert Krausz Hi-Lo activator
hi!
can I ask if anybody can help me convert my Robert Krausz Hi-Lo activator Tradestation code into esignal's EFS?
This is the ELS Tradestation code:
Input: Length(2);
Var: Swing(0);
Value1=Average(H,Length);
Value2=Average(L,Length);
If C<Value2[1] And C[1]>=Value2[2] then Swing=-1;
If C>Value1[1] And C[1]<=Value1[2] then Swing=1;
If Swing=1 Then Plot1(Value2,"Sell Act");
If Swing=-1 Then Plot2(Value1,"Buy Act");
I have also attached the sample screen shot.
Thanks in advance for occupying your valuable time!
hi!
can I ask if anybody can help me convert my Robert Krausz Hi-Lo activator Tradestation code into esignal's EFS?
This is the ELS Tradestation code:
Input: Length(2);
Var: Swing(0);
Value1=Average(H,Length);
Value2=Average(L,Length);
If C<Value2[1] And C[1]>=Value2[2] then Swing=-1;
If C>Value1[1] And C[1]<=Value1[2] then Swing=1;
If Swing=1 Then Plot1(Value2,"Sell Act");
If Swing=-1 Then Plot2(Value1,"Buy Act");
I have also attached the sample screen shot.
Thanks in advance for occupying your valuable time!
Comment