Code: Select all
633.00 , 19-07-12 13:50:24 , BarStatus_Value = 6761.50 , PrevBar_Value = 6761.50
633.00 , 19-07-12 13:50:30 , BarStatus_Value = 6761.50 , PrevBar_Value = 6761.50
633.00 , 19-07-12 13:50:35 , BarStatus_Value = 6761.50 , PrevBar_Value = 6761.50
633.00 , 19-07-12 13:50:37 , BarStatus_Value = 6761.50 , PrevBar_Value = 6761.50
633.00 , 19-07-12 13:50:37 , BarStatus_Value = 6760.50 , PrevBar_Value = 6761.50 <<<<
634.00 , 19-07-12 13:50:38 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
634.00 , 19-07-12 13:50:47 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
634.00 , 19-07-12 13:50:47 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
634.00 , 19-07-12 13:50:49 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
634.00 , 19-07-12 13:50:51 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
634.00 , 19-07-12 13:50:52 , BarStatus_Value = 6760.50 , PrevBar_Value = 6760.50
Code: Select all
[IntrabarOrderGeneration = True]
Vars: IntrabarPersist BarStatus_Value(0), IntrabarPersist PrevBar_Value(0);
if BarStatus(1)=2 then BarStatus_Value = Round2Fraction ( C );
PrevBar_Value = Round2Fraction(C )[1];
Print( BarNumber," , ",date_time," , "," BarStatus_Value = ", BarStatus_Value," , "," PrevBar_Value = ", PrevBar_Value);