小杨趋势出击线: VAR2A:=LLV(LOW,10); VAR3A:=HHV(HIGH,25); 动力线:= EMA((CLOSE-VAR2A)/(VAR3A-VAR2A)*4,4); 趋势:MA(动力线,2); IF(趋势>REF(趋势,1),趋势,DRAWNULL),colorred; IF(趋势<REF(趋势,1),趋势,DRAWNULL),colorblue; STICKLINE(趋势>REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),colorred; STICKLINE(趋势<=REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),COLOR00FF00; AA:=REF(CLOSE,1); BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000; HHH:=BBB-LLV(BBB,10); SS:=(MA(HHH,2)*3+HHH*13)/16; 短线买点:=IF(SS>13,MA(SS,2),SS)/6; 短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),1,0); 短线出击=30; X:=MA(AMOUNT,5)/MA(V,5)/100; VAR13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X; VAR14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3); VAR15A:=C/MA(C,60)-1; 大底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.4,-0.01,-1); 中底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.25 AND VAR13A>-0.4,-0.3,-1); 小底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.15 AND VAR13A>-0.25,-0.6,-1); 减仓:IF(CROSS(VAR14A,-95) AND VAR15A<0.2 AND VAR15A>=0.1,0.6,1); 中顶:IF(CROSS(VAR14A,-95) AND VAR15A<0.35 AND VAR15A>=0.2,0.3,1),coloryellow; 沐阳金堆(顶尖股票学院: http://58188.com): 快线:(EMA(EMA(EMA(EMA(CLOSE,2),1),2),2)),LINETHICK,colorred; 总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,13),1),1),1),1),LINETHICK,COLORFF00FF; 慢线1:EMA(REF((EMA(EMA(EMA(EMA(CLOSE,2),1),2),2)),1),1),LINETHICK,colorwhite; M:(MA(C,6)) ,colorgray; M45:(MA(C,45)),LINETHICK2 ; 安全线: EMA(CLOSE,55),POINTDOT ,LINETHICK,colorblack; DEA2:(EMA((EMA((EMA((EMA(( EMA((EMA(((EMA(((2*CLOSE+HIGH+LOW+OPEN)/5),3)+EMA(((2*CLOSE+HIGH+LOW+OPEN)/5),6)+EMA(((2*CLOSE+HIGH+LOW+OPEN)/5),12)+EMA(((2*CLOSE+HIGH+LOW+OPEN)/5),24))/4),2)),2)),2)),2)),2)),2)) ,colorblue,LINETHICK2; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),colormagenta; STICKLINE(买,OPEN,CLOSE,7,0),colorblue; M5:MA(C,5),COLORFF00FF; STICKLINE(快线<慢线1,O,C,10,1),colorgreen,COLORFFFFFF2; STICKLINE(快线>慢线1,O,C,10,6),colorred,COLORFFFFFF2; STICKLINE(快线>M,O,C,5,1),colorblue,COLORFFFFFF2; STICKLINE(慢线1>M,O,C,3,1),coloryellow,COLORFFFFFF2; 短线多:EXPMA((((EXPMA(C,5))+(EXPMA(C,10))+(EXPMA(C,20))+(EXPMA(C,30)))/4),5)+EXPMA((((EXPMA(C,5))+(EXPMA(C,10))+(EXPMA(C,20))+(EXPMA(C,30)))/4),5)*(IF((IF(CODELIKE('9999')OR CODELIKE('3990')OR CODELIKE('880')OR CODELIKE('0000'),1,0))=1,0.013,0.03)),colorred; 短线空:EXPMA((((EXPMA(C,5))+(EXPMA(C,10))+(EXPMA(C,20))+(EXPMA(C,30)))/4),5)-EXPMA((((EXPMA(C,5))+(EXPMA(C,10))+(EXPMA(C,20))+(EXPMA(C,30)))/4),5)*(IF((IF(CODELIKE('9999')OR CODELIKE('3990')OR CODELIKE('880')OR CODELIKE('0000'),1,0))=1,0.018,0.03)),coloryellow; |