请老师帮我改成tbq3的代码
//*****定义20根K线的高低点范围*****//
N:=20;
M:=1;
上沿:=HV(H,N);
下沿:=LV(L,N);
DRAWSL(ISLASTBAR,上沿,0,-N+1,0,RGB(180,180,180)),DOT;
DRAWSL(ISLASTBAR,下沿,0,-N+1,0,RGB(180,180,180)),DOT;
//FILLRGN(BACKSET(ISLASTBAR,N*M),REFX1(HHV(C,N*M),1000),REFX1(LLV(C,N*M),1000),RGB(0,30,30));
好的,谢谢
params
integer n(20);
vars
numeric highband;
numeric lowband;
events
OnBar(ArrayRef<Integer> indexes)
{
highband = highest(high[1], n);
lowband = lowest(low[1], n);
PlotNumeric("上沿", highband);
PlotNumeric("下沿", lowband);
}以后代码编写看置顶的收费代写贴