以「逐筆洗價」方式求得當日第一根K棒的量或價格,在任何分k頻率都適用。
//逐筆洗價方式判斷
condition1 = IsSessionFirstBar ;
if condition1[1] = true
then begin
bar1_high = high[1] ;
bar1_low = low[1];
bar1_close = close[1];
bar1_open = open[1];
Print(date,time,bar1_high ,bar1_low );
end ;