源码
红娘子1:=(CLOSE+HIGH+LOW+OPEN)/4;
红娘子2:=SUMBARS(VOL,CAPITAL);
红娘子3:=HHV(红娘子1,红娘子2);
红娘子4:=LLV(红娘子1,红娘子2);
红娘子5:=(2*红娘子1-红娘子4-REF(红娘子4,1))/(红娘子3-红娘子4);
红娘子6:=(红娘子1-红娘子4)/(红娘子3-红娘子4);
红娘子7:=IF(红娘子1<=红娘子4,红娘子5*60,红娘子6*60);
红娘子8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
红娘子9:=EMA(红娘子8,7);
红娘子10:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
红娘子11:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
买入:IF(红娘子10+红娘子11<7 AND CROSS(红娘子8,红娘子9) AND 红娘子9<-18 AND 红娘子9<红娘子11,60,50),coloryellow;
DRAWICON(买入=60,70,1),colorred;
红娘子12:=HHV(HIGH,9)-LLV(LOW,9);
红娘子13:=HHV(HIGH,9)-CLOSE;
红娘子14:=CLOSE-LLV(LOW,9);
红娘子15:=红娘子13/红娘子12*100-70;
红娘子16:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
红娘子17:=(2*CLOSE+HIGH+LOW)/4;
红娘子18:=SMA(红娘子14/红娘子12*100,3,1);
红娘子19:=LLV(LOW,34);
红娘子20:=SMA(红娘子18,3,1)-SMA(红娘子15,9,1);
红娘子21:=IF(红娘子20>100,红娘子20-100,0);
红娘子22:=HHV(HIGH,34);
红娘子23:=EMA((红娘子17-红娘子19)/(红娘子22-红娘子19)*100,8);
红娘子24:=EMA(红娘子23,5);
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24>=0,99,100,6,0),colorred;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24>=0,79,80,6,0),colorred;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24<0,99,100,6,0),colorgreen;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24<0,79,80,6,0),colorgreen;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24>=0,1,0,6,0),colorred;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24>=0,19,20,6,0),colorred;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24<0,1,0,6,0),colorgreen;
STICKLINE(红娘子23>0 AND 红娘子23-红娘子24<0,19,20,6,0),colorgreen;
红娘子25:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
反弹:IF(CROSS(红娘子25,9),100,0),STICK,LINETHICK3,colormagenta;
DRAWTEXT(CROSS(红娘子25,9),50,'反弹'),colormagenta;
红娘子26:=EMA(CLOSE,3);
红娘子27:=EMA(CLOSE,21);
红娘子28:=BARSLAST(CROSS(红娘子27,红娘子26))>15;
红娘子29:=VOL>MA(VOL,5)*2 AND VOL 红娘子30:=CROSS(红娘子26,红娘子27) AND 红娘子29 AND 红娘子28; 牛:IF(红娘子30,100,0),STICK,LINETHICK4,colorred; DRAWTEXT(红娘子30,50,'牛'),colorred; 红娘子31:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 红娘子32:=SMA(红娘子31,3,1); 红娘子33:=SMA(红娘子32,3,1); DRAWBAND(红娘子32,RGB(139,10,10),红娘子33,RGB(0,100,0)); IF(红娘子32<红娘子33,红娘子32,DRAWNULL),COLORAA9900,LINETHICK1; IF(红娘子32<红娘子33,红娘子33,DRAWNULL),COLORAA9900,LINETHICK1; 红娘子34:=IF((CLOSE>REF(CLOSE,1)),88,0); 红娘子35:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (红娘子34>0),91,0); 红娘子36:=(FILTER((红娘子35>90),45)),colorred; STICKLINE(红娘子36,100,0,9,0),colorred; 咨询QQ:66686241,NODRAW; 天界:100,colorwhite; 地界:0,colorwhite; 红娘子37:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; 红娘子38:=SMA(SMA(红娘子37,3,1),3,1)/28.57; 红娘子39:=EMA(红娘子38,5); 红娘子40:=3*红娘子38-2*红娘子39; 红娘子41:=CROSS(红娘子40,红娘子38) AND 红娘子38<2.1 AND C>O; STICKLINE(红娘子41,100,0,5,0),coloryellow; DRAWTEXT(红娘子41,58,'追'),coloryellow; 咨询QQ:66686241,NODRAW; 天界:100,colorwhite; 地界:0,colorwhite; 红先锋1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; 红先锋2:=SMA(SMA(红先锋1,3,1),3,1)/28.57; 红先锋3:=EMA(红先锋2,5); 红先锋4:=3*红先锋2-2*红先锋3; 红先锋5:=CROSS(红先锋4,红先锋2) AND 红先锋2<2.1 AND C>O; STICKLINE(红先锋5,100,0,5,0),coloryellow; DRAWTEXT(红先锋5,58,'追'),coloryellow; 背离底:IF(LAST(MA(C,5) DRAWTEXT(LAST(MA(C,5) 红娘子a19:=RSI; 红娘子a20:=MA(红娘子a19,3); 红娘子a21:=100*(C-REF(C,1))/REF(C,1); 红娘子a22:=EMA(红娘子a19,25)+6,colorblue; 红娘子a23:=REF(红娘子a19,1)>REF(红娘子a19,2) AND REF(红娘子a19,1)>红娘子a19; 红娘子a24:=(REF(红娘子a19,1)
红娘子a25:=CROSS(红娘子a22,红娘子a19); 红娘子a26:STICKLINE(REF(红娘子a19,2)>REF(红娘子a19,3) AND REF(红娘子a19,2)>REF(红娘子a19,1) AND 红娘子a19>REF(红娘子a19,1) AND 红娘子a20>REF(红娘子a20,1)+1 AND REF(红娘子a20,2)-REF(红娘子a20,1)>-1 AND REF(红娘子a19,1)-3 AND REF(红娘子a19,1)<38 AND 红娘子a19<红娘子a22 AND 红娘子a21<8,0,100,2,0),colorred; DRAWTEXT(红娘子a26,88,'RSI买'),coloryellow; 红娘子a15:=(((CLOSE - LLV(LOW,29)) / (HHV(HIGH,29) - LLV(LOW,29))) * 100); 红娘子a16:=MA(红娘子a15,5); 红娘子a17:=MA(红娘子a16,2); 红娘子a18:=((3 * 红娘子a16) - (2 * 红娘子a17)); 明涨:IF(CROSS(红娘子a18 , 5),50,0),colorwhite,LINETHICK1; DRAWTEXT(CROSS(红娘子a18 , 5),50,'准备'),colorwhite; XXBB:= EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*4,5)*100; 红财神:=REF(XXBB,1)<50 AND XXBB-REF(XXBB,1)>25; STICKLINE(红财神,20,30,1.2,0),colorred; STICKLINE(红财神,10,20,1.2,0),colorred; STICKLINE(红财神,0,100,1.2,0),colorred; DRAWTEXT(红财神,80,'财'),colorred,LINETHICK1; 左手:=C-REF(C,1); 秋天:=100*EMA(EMA(左手,6),6)/EMA(EMA(ABS(左手),6),6); 梦想:=LLV(秋天,2)=LLV(秋天,7) AND COUNT(秋天<0,2) AND CROSS(秋天,MA(秋天,2)); 十三:=FINANCE(37)<=60000; 十三的思想:=(C-REF(C,20))/REF(C,20)*100<0; 淑女宣:=FILTER(梦想=1,5) AND CCI>0 AND 十三 AND 十三的思想; STICKLINE(淑女宣,0,100,1.2,0),colormagenta; DRAWTEXT(淑女宣,70,' 红'),colormagenta,LINETHICK1;