N:=120;{炒股公式-炒股指标www.gs6699.com}
K:=BARSLAST(CURRBARSCOUNT=N);
瀑布线:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
柱状图:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
指标公式:=瀑布线-柱状图;
ffccd1:=IF(CURRBARSCOUNT<=N/2,柱状图,DRAWNULL);
ffccd2:=IF(CURRBARSCOUNT<=N/2,柱状图+指标公式*0.191,DRAWNULL);
ffccd3:C<ffccd2;