无敌趋势
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF;
K:SMA(RSV2,3,1),LINETHICK2,COLORWHITE;
D:SMA(K,3,1),LINETHICK2,COLORF408F4;
DI:IF(趋势线=10,30,0),LINETHICK2,COLORYELLOW;
KI:IF(CROSS(J2,J1) AND J285,70,100),LINETHICK2,COLOR00FF00;
强弱界线:49,POINTDOT,LINETHICK3,COLOR99AACC;
STICKLINE(趋势线88,100,趋势线,4,1),COLORGREEN;
STICKLINE(趋势线=10,0,趋势线,4,1),COLORYELLOW;
STICKLINE(COUNT(趋势线REF(趋势线,1) AND 趋势线10,2)=2,0,20,4,0),COLORRED;
STICKLINE(CROSS(J2,J1) AND J285,100,80,4,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(D,K) AND D88,10),D*1.05,2);
DRAWTEXT(CROSS(趋势线,49),47,转强),COLORRED;
DRAWTEXT(CROSS(49,趋势线),52,转弱),COLORGREEN;
粉K线
STICKLINE(CROSS(C,(HHV((H+L)/2,120))),O,C,12,1),COLOR33DDDD;
{历史新高:}STICKLINE(HHV(CLOSE,0)=CLOSE,O,C,10,0),COLORYELLOW;
STICKLINE(C=O,CLOSE,OPEN,8,0),COLORRED; STICKLINE(C=O,CLOSE,OPEN,7,0),COLORRED;
STICKLINE(C=O,CLOSE,OPEN,6,0),COLOR0000BB; STICKLINE(C=O,CLOSE,OPEN,5,0),COLOR0000CC;
STICKLINE(C=O,CLOSE,OPEN,4,0),COLOR0000DD; STICKLINE(C=O,CLOSE,OPEN,3,0),COLOR0000EE;
STICKLINE(C=O,CLOSE,OPEN,2,0),COLOR0000FF; STICKLINE(C=O,LOW,HIGH,1,0),COLORRED;
无敌精灵
空方:=(EMA(CLOSE,24)-EMA(CLOSE,4))/2*0.95;
0;多方:=(EMA(CLOSE,4)-EMA(CLOSE,24))/2*0.95;
多头:多方,COLORYELLOW;
空头:空方,,COLORFFFF00;
引路精灵:(多方-空方),COLORRED,LINETHICK2;
STICKLINE(多方空方 ,0,多方 ,0.8 , 1),COLOREEAAFE;
STICKLINE(空方多方 ,0,空方 ,0.8 , 1),COLORFFFF00;
STICKLINE(多方空方 ,0 ,空方 ,0.8 , 1),COLOREEAAFE;
STICKLINE(空方多方,0 ,多方 ,0.8 , 1),COLORFFFF00;
DRAWICON(CROSS(引路精灵 ,0 ) ,引路精灵+0.3,1 );
买卖航标
VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
操盘线:SMA(VAR1,5,1),LINETHICK2,COLORRED;
趋势线:SMA(操盘线,3,1),LINETHICK2,COLORYELLOW;
买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线25,50,0),LINETHICK2,COLORRED;
DRAWTEXT(买入航标0,50,买入),LINETHICK1,COLORRED;
卖出时间:IF(CROSS(趋势线,操盘线)AND操盘线70,80,100),COLORGREEN;