本公式是筹码类函数,需要用到 COST WINNER函数,部分人认为未来函数,不喜勿下。 指标用法 1、当主图出现龙头信号时就是发出要拉涨的信号了 2、 如果同时出现龙头和暴张也就是大涨的开始 3、主图出现信号后副图近日内是否出现信号 4、副图信号离主图信号越近越好 5、结合热点更好就等着赚钱吧
DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(54,0,0),0,75,0); X_1:=(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE; X_2:=REF(HHV(X_1,20),0); STICKLINE(X_1>CLOSE,X_2,X_1,2,0),COLORGRAY; STICKLINE(X_1>CLOSE,X_2,X_1,1,0),COLORBLACK; STICKLINE(X_1>CLOSE,X_2,X_1,0.5,0),COLORGRAY; STICKLINE(X_1>REF(X_1,1),X_1,X_2,2,0),COLOR1388A3; STICKLINE(X_1>REF(X_1,1),X_1,X_2,1,0),COLORBLACK; STICKLINE(X_1>REF(X_1,1),X_1,X_2,0.5,0),COLOR1388A3; X_3:=MA(CLOSE,5); X_4:=MA(CLOSE,10); X_5:=MA(CLOSE,20); X_6:=MA(CLOSE,30); X_7:=MA(CLOSE,250); X_8:=BARSLAST(CROSS(X_3,X_4)); X_9:=BARSLAST(CROSS(X_4,X_3)); X_10:=IF(X_8X_11:=IF(X_9X_12:=X_3>X_5 AND X_4>X_5 AND X_5>REF(X_5,1) AND X_6>REF(X_6,1); X_13:=X_10*X_12; X_14:=X_11*X_12; X_15:=HHV(X_10,5)>=2 AND X_12 AND X_3>REF(X_3,1) AND X_3>X_4; X_16:=X_15*X_10; X_17:=BARSLAST(X_16>0 AND NOT(REF(X_16,1)))+1; X_18:=(CLOSE/REF(CLOSE,X_17)-1)*100; 空中加油:X_13>0 AND X_16=0,POINTDOT,COLORGREEN,LINETHICK0; X_19:=BARSLAST(空中加油)+1; X_20:=ATAN((X_3/REF(X_3,1)-1)*100)*180/3.14159; X_21:=X_20>REF(X_20,1) AND REF(X_20,1)X_22:=X_3>REF(X_3,1) AND REF(X_3,1)加速远航:FILTER(X_21 OR X_22 AND CLOSE>X_3 AND X_15,3),POINTDOT,COLORYELLOW,LINETHICK0; X_23:=BARSLAST(加速远航); STICKLINE(空中加油,(OPEN+CLOSE)/2-0.01,(OPEN+CLOSE)/2+0.01,4,0),COLORGREEN; STICKLINE(空中加油,LOW,HIGH,1,1),COLORGREEN; STICKLINE(加速远航,(OPEN+CLOSE)/2-0.01,(OPEN+CLOSE)/2+0.01,4,0),COLORYELLOW; STICKLINE(加速远航,LOW,HIGH,1,1),COLORYELLOW; STICKLINE(X_23>0 AND X_23<=5,REF(OPEN,X_23+1),REF(OPEN,X_23+1),4,1),COLORWHITE; DRAWTEXT(加速远航,LOW,116),COLORYELLOW; DRAWTEXT(X_16,X_6,117),COLORWHITE; DRAWTEXT(空中加油,X_6,118),COLORGREEN; X_24:=SUMBARS(VOL,CAPITAL*1); X_25:=SUM((COST(20)+COST(80))/2,X_24)/X_24; X_26:=SUM((COST(30)+COST(70))/2,X_24)/X_24; X_27:=SUM((COST(40)+COST(60))/2,X_24)/X_24; X_28:=SUM((COST(10)+COST(90))/2,X_24)/X_24; X_29:=SUM(COST(50),X_24)/X_24; X_30:=LLV(LOW,250)=LOW; X_31:=BARSLAST(X_30); OK:(5*X_26+4*X_25+3*X_27+2*X_28+X_29)/15,CIRCLEDOT,COLORBROWN; OK1:STICKLINE(CROSS(CLOSE,OK) AND X_31>=60,OPEN,CLOSE,5,0),COLORYELLOW; 龙头暴涨:CROSS(CLOSE,OK),COLORMAGENTA; DRAWICON(龙头暴涨,CLOSE*1.08,18); JJ1:MA(CLOSE,30); X_32:=MA(CLOSE,60); 入1:IF(JJ1>REF(JJ1,1),JJ1,DRAWNULL),COLORRED,LINETHICK2; 入2:IF(JJ1DRAWKLINE(HIGH,OPEN,LOW,CLOSE); X_33:=(HIGH+LOW+CLOSE)/3; X_34:=VOL/IF(HIGH=LOW,4,HIGH-LOW); X_35:=IF(CAPITAL=0,X_34*(X_33-MIN(CLOSE,OPEN)),X_34*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW)); X_36:=IF(CAPITAL=0,X_34*(MIN(OPEN,CLOSE)-LOW),X_34*IF(HIGH=LOW,1,X_33-MIN(CLOSE,OPEN))); X_37:=IF(CAPITAL=0,X_34*(HIGH-MAX(OPEN,CLOSE)),X_34*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE))); X_38:=IF(CAPITAL=0,X_34*(MAX(CLOSE,OPEN)-X_33),X_34*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-X_33)); X_39:=(X_35+X_36-(X_37+X_38))/IF(CAPITAL=0,10000,10000); X_40:=SMA(IF(CLOSE>=REF(CLOSE,1),X_39,(-X_39)/100),2,1); X_41:=SMA(X_40*120/FROMOPEN*5,2,1); X_42:=SMA(X_41,5,1); X_43:=SMA(X_42,5,1); X_44:=CURRBARSCOUNT=1 AND CLOSEX_45:=REF(X_40,1)-X_44; X_46:=X_40*1.01-REF(X_40,1); X_47:=REF(X_40*1.01,1)-REF(X_40,2); X_48:=X_46>3*ABS(X_47); X_49:=EMA(X_40,15); X_50:=COST(85); X_51:=COST(15); X_52:=X_50-X_51; X_53:=(X_50+X_51)/2; X_54:=X_52/X_53*100<30; X_55:=HHV(HIGH,250); X_56:=LLV(LOW,250); X_57:=X_55-X_56; X_58:=X_53-X_56; X_59:=X_53X_60:=X_54 AND X_59; X_61:=CLOSE/REF(CLOSE,1)>1.04; X_62:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3); X_63:=X_62>=75 AND CLOSE>0 AND CLOSE>OPEN; 筹码强势突破:X_63 AND X_60 AND X_58 AND WINNER(CLOSE)>=0.9 AND X_61,COLORMAGENTA; 筹码集中买入:X_60 AND X_46>0 AND CROSS(X_46,X_49) AND X_48 AND WINNER(CLOSE)>=0.9; DRAWICON(筹码强势突破,LOW,26);{WWW.GPXIAZAI.COM} DRAWICON(筹码集中买入,LOW*0.99,25); DRAWTEXT(筹码强势突破,LOW,120),COLORMAGENTA; DRAWTEXT(筹码集中买入,LOW*0.97,121),COLORGREEN; X_64:=1.1*CLOSE; X_65:=0.9*CLOSE; X_66:=100*(WINNER(X_64)-WINNER(X_65)); X_67:=100-X_66; X_68:=MA(CLOSE,13)X_69:=CROSS(X_67,90) AND X_68 AND DATE<1220630; X_70:=CLOSE>OPEN AND COUNT(X_69,10)>0; X_71:=X_70 AND COUNT(X_70,4)=1 AND DATE<1220630; DRAWICON(X_69,LOW,3); DRAWICON(X_71,LOW,9); STICKLINE(X_1=X_2,OPEN,CLOSE,3,0),COLOR009999; STICKLINE(X_1=X_2,OPEN,CLOSE,2,0),COLOR00DDDD; STICKLINE(X_1=X_2,OPEN,CLOSE,1,0),COLORYELLOW; STICKLINE(X_1=X_2,OPEN,CLOSE,0.5,0),COLORYELLOW; STICKLINE(X_1=X_2,OPEN,CLOSE,0.2,0),COLORYELLOW;
|