{技术指标公式:JGQJZ(价格区间值) 缺省周期:日线
参数描述: N(1,300,240)}
A:=C-LLV(C,N);
B:=HHV(C,N)-LLV(C,N);
C1:A/B*100;
{C1一般以50为中轴,10以下为底部,90以上为顶部。}
Var1:=C-LLV(C,N);
Var2:=HHV(C,N)-LLV(C,N);
区间值:Var1/Var2*100,COLOR00FF33;
底部:10,COLOR33FFFF;
顶部:90,COLORRED;
DRAWTEXT(FILTER(Var1/Var2*100>=90,10),60,'注意顶部'),COLOR0000FF;
DRAWTEXT(FILTER(Var1/Var2*100<=10,10),40,'注意底部'),COLORFFFF00;