以下是同花顺金红底副图指标
同花顺金红底副图指标
源码
DRAWGBK(V>1,STRIP(RGB(100,100,255),RGB(120,120,255),1));
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*3*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),Culor5959FF,LINETHICK2;
拉升力B:=3*拉升力A-2*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK1,Culor46FF46;
FILLRGN(做空,REF(做空,1),做空>REF(做空,1),RGB(255,255,98),做空<REF(做空,1),RGB(70,255,70));
STICKLINE(做空>REF(做空,1),做空,CLOSE),COLOR0090FF;
STICKLINE(做空>REF(做空,1),做空,CLOSE),COLOR009FFF;
STICKLINE(做空>REF(做空,1),做空,CLOSE),COLOR00B5FF;
STICKLINE(做空>REF(做空,1),做空,CLOSE),COLOR00E4FF;
STICKLINE(做空>REF(做空,1),做空,CLOSE),COLOR00FFFF;
STICKLINE(做空<REF(做空,1),做空,CLOSE),COLOR66CC33;
STICKLINE(做空<REF(做空,1),做空,CLOSE),COLOR009900;
STICKLINE(做空<REF(做空,1),做空,CLOSE),COLOR00CC00;
STICKLINE(做空<REF(做空,1),做空,CLOSE),COLOR00DD00;
STICKLINE(做空<REF(做空,1),做空,CLOSE),COLOR00FF00;
短线:=(CLOSE-MA(CLOSE,14))/MA(CLOSE,14)*20,LINETHICK0,coloryellow;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,colorwhite;
红柱:SMA(短线,3,1)*3.5,COLORSTICK,CulorFFFF2F;
蓝柱:SMA(中线,3,1)*3.5,COLORSTICK,CulorFFFF2F;
FILLRGN(红柱,REF(红柱,1),红柱>REF(红柱,1),RGB(255,96,255),红柱<REF(红柱,1),RGB(47,255,255));
STICKLINE(红柱0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱0,0,红柱,2,0),colorred;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),colorred;
STICKLINE(蓝柱0,0,蓝柱,6,0),COLOR0000FF;
STICKLINE(蓝柱0,0,蓝柱,5,0),COLOR0055FF;
STICKLINE(蓝柱0,0,蓝柱,4,0),COLOR0077FF;
STICKLINE(蓝柱0,0,蓝柱,3,0),COLOR0099FF;
STICKLINE(蓝柱0,0,蓝柱,2,0),COLOR00BBFF;
STICKLINE(蓝柱0,0,蓝柱,1,0),COLOR00DDFF;
STICKLINE(蓝柱0,0,蓝柱,0.7,0),COLOR00FFFF;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱>REF(红柱,0)AND 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,8,0),COLOR9933FF;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,7,0),COLOR000099;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,6,0),COLOR9933FF;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,5,0),COLOR000099;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,4,0),COLOR0000CC;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,3,0),COLOR0033FF;