大:=DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
大盘:MA(INDEXC,10),LINETHICK5;
分:=CONST(LLV(L,90));
基点:=CONST(LLV(大盘,90));
C比:=(C-分)/百;
CX:=C比*基+基点;
KK:DRAWKLINE(HX,OX,LX,CX),COLORMAGENTA;
个股1:MA(CX,3),COLORRED;{www.fxjgsw.com}
个股2:MA(CX,10),COLORYELLOW;
P1:=IF(BARSLAST(CURRBARSCOUNT=2),1,0);
DRAWTEXT(P1,大盘,'大盘'),COLORYELLOW;
DRAWTEXT(P1,个股1,'个股'),COLORYELLOW; |
