DRAWTEXT(CROSS(MA5,MA6) AND \AND \,L*0.92,'←再买'),COLORMAGENTA;
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04)); XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100); XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●买点'); DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部'); X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7); X9:=FILTER(X8,4);
DRAWTEXT(X9,(HIGH * 1.02),'●出货'),COLOR9000F5; STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW; AAA:=CONST(HHV(H,90)); R1:=MA(CLOSE,1); R2:=MA(CLOSE,3); R3:=(MA(R2,1)*1); R4:=(MA(R2,3)*1);
DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'进'),COLORYELLOW; LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'出'),COLORGREEN;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR12:=(HIGH+LOW+CLOSE)/3;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17);
VAR19:=IF(VAR18<90,VAR18,100); VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 VAR13<=-150,-15,VAR16))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大笔出'),LINETHICK1,COLORFFCC66; AA1:=AMOUNT/V; BB1:=L CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L 老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0; DRAWTEXT(老鼠仓,(LOW* 0.99),'老鼠仓'),COLOR40CCFF; AND 货斐波那契数列指标公式源码: DIF:EMA(CLOSE,12)-EMA(CLOSE,26); DEA:EMA(DIF,9); MACD:(DIF-DEA)*2 COLORSTICK; TJ:=MACD>0;T:=MACD<0; A:=LLV(MACD,50)=MACD; DRAWICON(A AND FILTERX(A,20), MACD,1); DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW; DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW; DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN; DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN; DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN; DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN; DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN; DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN; DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN; DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN; DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN; 斐波那契数列主图公式源码 ZT:=C/REF(C,1)>1.097; XH:=FILTER(ZT,13); BH:=BARSLAST(ZT); CZ:=REF(H,BH)-REF(L,BH); STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED; STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE; STICKLINE(ZT,REF(O,BH),REF(C,BH),7,0),COLORYELLOW; DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0; VARZT:=BARSLAST(C/REF(C,1)>1.097); STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF; DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW; STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF; DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW; STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF; DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW; STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF; DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW; STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF; DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW; STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD; DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW; STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600; DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW; STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW; STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW; STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033; DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW; STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966; DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW; 斐波那契均线源码: M5:EMA(CLOSE,5),COLORWHITE;{白色} M8:EMA(CLOSE,8),COLORGRAY;{深灰色} M13:EMA(CLOSE,13),COLORYELLOW,LINETHICK2;{黄色} M21:EMA(CLOSE,21),COLORMAGENTA;{洋红色} M34:EMA(CLOSE,34),COLORGREEN ;{绿色} M55:EMA(CLOSE,55),COLORRED,POINTDOT,LINETHICK4;{生命线,红色} M89:EMA(CLOSE,89),COLORCYAN;{青色} M144:EMA(CLOSE,144),COLORBROWN;{棕色} M233:EMA(CLOSE, 233),COLORBLUE,LINETHICK3;{蓝色} 顶部:M34+2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2; 底部:M34-2*STD(CLOSE,55),COLORYELLOW,POINTDOT,LINETHICK2; DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.98,1); DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,2); DRAWTEXT(REF(C,2)/REF(O,2)<0.95 AND (REF(C,2) REF(C,1)>REF(C,2) AND REF(C,1)>(REF(C,2)+REF(O,2))/2 AND (C>REF(C,1)) AND (LLV(LOW,13)=REF(LOW,1)),LOW*0.98,'↖曙光'), COLORYELLOW; DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1) (CLOSE/OPEN>1.05) AND (CLOSE>REF(CLOSE,2)),LOW*0.98,'↖早晨'),COLORYELLOW; DRAWICON(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND (REF(OPEN,1) < REF(CLOSE,2)) AND (ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND (CLOSE/OPEN>1.05) AND (CLOSE>REF(CLOSE,2)),C*1.02,9); 斐波那契数列公式