A:=C/5;
中線:=EMA(C,20);
外軌上:=0.55*A+EMA(C,20);
內軌上:=0.4*A+EMA(C,20);
內軌下:=(-0.4*A)+EMA(C,20);
外軌下:=(-0.55*A)+EMA(C,20);
FILLRGN(C>0,內軌上,內軌下),COLOR344434;
外軌上,COLORFFFFFF,LINETHICK3;
內軌上,COLORCCCCCC,LINETHICK2;
內軌下,COLORCCCCCC,LINETHICK2;
外軌下,COLORFFFFFF,LINETHICK3;
超買區(qū):FILLRGN(C>0,外軌上,內軌上),COLOR7777BB;
超賣區(qū):FILLRGN(C>0,外軌下,內軌下),COLOR777744;
DRAWTEXT(C>0 AND ISLASTBAR=1,0.52*A+EMA(C,20),'←超買區(qū)'),COLORYELLOW;
DRAWTEXT(C>0 AND ISLASTBAR=1,(-0.42*A)+EMA(C,20),'←超賣區(qū)'),COLORGREEN;
PARTLINE(中線>=REF(中線,1),中線),COLORMAGENTA;
PARTLINE(中線<REF(中線,1),中線),COLORWHITE;
STICKLINE(C>=O,H,L,1,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLOR00FFFF;
STICKLINE(C>=O,C,O,8,0),COLOR0000FF;
STICKLINE(C>=O,C,O,7,0),COLOR0033FF;
STICKLINE(C>=O,C,O,6,0),COLOR0055FF;
STICKLINE(C>=O,C,O,5,0),COLOR0077FF;
STICKLINE(C>=O,C,O,4,0),COLOR0099FF;
STICKLINE(C>=O,C,O,3,0),COLOR00BBFF;
STICKLINE(C>=O,C,O,2,0),COLOR00DDFF;
STICKLINE(C>=O,C,O,1,0),COLOR00FFFF;
STICKLINE(C<=O,H,L,1,0),COLORFF0000;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
STICKLINE(C<=O,C,O,8,0),COLORFF0000;
STICKLINE(C<=O,C,O,7,0),COLORFF3300;
STICKLINE(C<=O,C,O,6,0),COLORFF5500;
STICKLINE(C<=O,C,O,5,0),COLORFF7700;
STICKLINE(C<=O,C,O,4,0),COLORFF9900;
STICKLINE(C<=O,C,O,3,0),COLORFFBB00;
STICKLINE(C<=O,C,O,2,0),COLORFFDD00;
STICKLINE(C<=O,C,O,1,0),COLORFFFF00;
LC := REF(C,1);
RSI1:= SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1);
RSI2:= (RSI1-0.5)/3.8*EMA(C,20);
RSI6: RSI2+EMA(C,20),COLORRED,LINETHICK2;
RSI1a:= SMA(MAX(C-LC,0),12,1)/SMA(ABS(C-LC),12,1);
RSI2a:= (RSI1a-0.5)/3.8*EMA(C,20);
RSI12: RSI2a+EMA(C,20),COLORYELLOW;
本站僅提供存儲服務,所有內容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權內容,請
點擊舉報。