{ 参数: K=0--5, N1=5, N=10, P1=6} DRAWGBK(K!=5,RGB(0,0,255),RGB(30,50,55),0,' ',0); JRH:=HHV(C,2); JRL:=LLV(C,2); MA3:=MA(CLOSE,3); YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1; R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD); VAR3:=IF(C<200 ,MA(COST(80),3),2500),NODRAW; VAR4:=(((HIGH + LOW) + CLOSE) / 3); VAR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330); VAR6:=(VAR5 + ((VAR5 * 6) / 100)); 短买春:=R19,NODRAW,COLOR00DD00; 秋离场:=R1A,NODRAW,COLOR2288EE; 红持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,NODRAW,COLOR0000FF; 阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,NODRAW,COLOR999999; 急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW; 离场:=IF(红持股,JRL,DRAWNULL); 明离场价:=离场,COLORFF99FF,NODRAW; 今离场价:=REF(离场,1)COLOR0000FF,NODRAW; 进:=IF(阴观望,JRH,DRAWNULL); 明进场价:=进,COLOR33AACC,NODRAW; 今进场价:=REF(明进场价,1),COLOR00FF00,NODRAW; STICKLINE(ISLASTBAR AND (红持股 OR REF(红持股,1)=1),今离场价,今离场价,20,1),COLOR0000FF; STICKLINE(ISLASTBAR AND (阴观望 OR REF(阴观望,1)=1),今进场价,今进场价,20,1),COLOR00FF00; B1:=REF(CLOSE,1); B2:=REF(CLOSE,2); B3:=REF(CLOSE,3); B4:=REF(CLOSE,4); CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3); CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3); 买入:=(B1=CMIN AND CLOSE>=B2) OR ((B2=CMIN AND B1<=B3) OR (B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1); STICKLINE(买入,B1,B2,3.5,0),COLORFF00FF; 抛shou:=(B1=CMAX AND CLOSE<B2) OR ((B2=CMAX AND B1>B3) OR (B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1); STICKLINE(抛shou,B1,B2,3.5,0),COLORBBBBBB; 高点:=CONST(HHV(H,90)),NODRAW; 低点:=CONST(LLV(L,90)),NODRAW; F:EMA(C,5); KS:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100); RKS:=REF(KS,1); MLS:=RKS/KS>1.23 AND RKS>10 AND C/REF(C,1)>1.02; J:STICKLINE(KS>=10,H,L,0,1),COLORWHITE,LINETHICK2; 权:EMA(C,13),COLORRED,LINETHICK2; 证:EMA(KS*C/100+权,3), COLORFF9933,LINETHICK2; 反弹:STICKLINE(MLS=1,H,L,0,1),COLORFF00FF,LINETHICK2; STICKLINE(权>证,权,证,4,1),COLORFF00FF; STICKLINE(C>=O,H,L,0,0),COLORRED; STICKLINE(C>=O,C,O,2.8,0),COLOR0000DD; STICKLINE(C>=O,C,O,1,0),COLORRED; STICKLINE(C<O,H,L,0,0),COLORGRAY; STICKLINE(C<O,C,O,2.8,0),COLORGRAY; STICKLINE(C<O,C,O,1,0),COLOR888888; STICKLINE(1,O,C,0,0),COLORFFFFFF; STICKLINE(KS>10,H,L,0,0),COLORWHITE,LINETHICK1; STICKLINE(KS>10,O,C,2.8,1),COLORWHITE,LINETHICK1; STICKLINE(MLS,H,L,0,0),COLOR00FFFF,LINETHICK1; STICKLINE(MLS,O,C,2.8,0),COLOR00FFFF,LINETHICK1; VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3); VAR2:=CROSS(VAR1,0.9); VAR33:=BACKSET(REF(LOW,2)=LLV(LOW,5),3); VAR44:=CROSS(VAR33,0.9); 压力:= REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5; STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),2,0),COLOREA91B5; 支撑:= REF(LOW,BARSLAST(VAR44)), POINTDOT,COLOR00B4FF; STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR44)),REF(LOW,BARSLAST(VAR44)),2,0),COLOR00B4FF; 下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); ARSV:=SMA(下档线,3,1); AK:=SMA(ARSV,3,1); AD:=((3 * ARSV) - (2 * AK)); AJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); ARSV24:=SMA(AJ12,3,1); AK24:=SMA(ARSV24,3,1); AD24:=((3 * ARSV24) - (2 * AK24)); 撑压位:=IF(CROSS(AD24,AD),HIGH,REF(HIGH,BARSLAST(CROSS(AD24,AD)))); 底:=LLV(HIGH,30); STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(ISLASTBAR ,撑压位,' 撑压'),COLORFFFFFF; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1; DRAWTEXT(ISLASTBAR ,底,' 底线'),COLOR00FF00; 底2:=SUM(MA(CLOSE,10),9)/11.114; DRAWTEXT(CROSS(LOW,底2) AND REF(底2,1)>REF(HIGH,1) OR CROSS(HIGH,底2),L,'---铁底'),COLOR00FF00; X11:=(3*CLOSE+HIGH+LOW+OPEN)/6; X22:=EMA(X11,10); X3:=REF(X22,1); X4:=(REF(HIGH,1)+REF(LOW,1))/2; X5:=MA(CLOSE,21)+2*STD(CLOSE,21); 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); WZ1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); WZ2:=POW(MA(LOW,5),2)+MA(LOW,5); WZ3:=POW(MA(HIGH,5),2)+MA(HIGH,5); WZ4:=(WZ1-LLV(WZ2,9))/(HHV(WZ3,9)-LLV(WZ2,9))*150+65; DK:=SMA(WZ4,3,1)*1.5; DD:=SMA(DK,3,1); DJ:=3*DK-2*DD; WZ5:=EMA(CLOSE,12)-EMA(CLOSE,26); WZ6:=EMA(WZ5,9); WZ7:=2*(WZ5-WZ6); WZ8:=REF(WZ7,1); WZ9:=CROSS(WZ8,WZ7) AND WZ8>0; VAR1T:=EMA(CLOSE,8); VAR2T:=EMA(VAR1T,20); VAR3T:=CROSS(VAR1T,VAR2T); VAR4T:=VAR1T<MA(CLOSE,120); VAR5T:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR6T:=SMA(VAR5T,5,1); VAR7T:=SMA(VAR6T,8,1); VAR8T:=CROSS(VAR6T,VAR7T) AND VAR7T<20; VAR9T:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR8T; VARA:=IF(CLOSE>1000,VAR8T,VAR9T); 逃遁:=VARA; XL1:=EMA(CLOSE,10)/100; XL2:=MA((XL1-REF(XL1,10))/REF(XL1,10),3)*100; XL3:=MA(XL2,3); XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1); DRAWTEXT(IF(CROSS(3*XL4-2*SMA(XL4,3,1),8),87,0) AND X22>X3,LOW,'←反弹'),COLOR0000FF; DRAWTEXT(IF(CROSS((VAR1T- |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!