DRAWGBKLAST(v>1,STRIP(RGB(0,0,205),RGB(60,179,113),0)); CHECK1:=1-2;
{www.fxjgsw.com}
VAR1m:=IF((CHECK1 < 0),(((HIGH + LOW) + CLOSE))/(3),0);
VAR2m:=IF((CHECK1 < 0),((VAR1m - MA(VAR1m,14)))/((0.015)*(AVEDEV(VAR1m,14))),0);
VAR3m:=IF((CHECK1 < 0),((VAR1m - MA(VAR1m,70)))/((0.015)*(AVEDEV(VAR1m,70))),0);
VAR4m:=IF((CHECK1 < 0),IF(((((VAR2m >= 150) and (VAR2m < 200)) and (VAR3m >= 150)) and (VAR3m < 200)),10,0),0);
VAR5m:=IF((CHECK1 < 0),IF(((((VAR2m <= (0 - 150)) and (VAR2m > (0 - 200))) and (VAR3m <= (0 - 150))) and (VAR3m > (0 - 200))),(0 - 10),VAR4m),0);
VAR6m:=IF((CHECK1 < 0),(((CLOSE - MA(CLOSE,13)))/(MA(CLOSE,13)))*(100),0);
VAR7m:=IF((CHECK1 < 0),(100 - ABS(VAR6m)),0);
VAR8m:=IF((CHECK1 < 0),IF((VAR7m < 90),VAR7m,100),0);
PJX:=IF((CHECK1 < 0),(MA(((100)*((CLOSE - LLV(CLOSE,34))))/((HHV(HIGH,34) - LLV(LOW,34))),5) - 20),0);
短期强弱:PJX,colorYellow;
SW1:= (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
tt:=(c-SW1)/SW1*100;
pt:=ma(tt,6);
买入:=IF((tt<-5),-10,0);
卖出:=IF((tt>5 ),10,20);
买入1:=ref(买入,1);
买入2:=ref(买入1,1);
卖出1:=ref(卖出,1);
卖出2:=ref(卖出1,1);
反弹1:IF(CROSS(tt,pt) AND 买入1=-10 ,20,0),linethick3;
反弹2:IF(CROSS(tt,pt) AND 买入2=-10 ,20,0),linethick3;
回落:IF(CROSS(pt,tt) AND 卖出1=10 ,80,100),linethick3;
回落1:IF(CROSS(pt,tt) AND 卖出2=10 ,80,100),linethick3;
阳包阴xg:if(REF(OPEN,1)>REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND
OPEN<REF(CLOSE,1) AND HIGH>REF(HIGH,1) AND LOW<REF(LOW,1) AND
CLOSE>OPEN AND (CLOSE-OPEN)>EMA((HIGH-LOW),90),30,0),COLORyellow,linethick2;
VarAq:=BARSCOUNT(CLOSE)*3.142/180;
Aq2: SIN(VarAq*8)*100,linethick2,coloryellow;
Aq3: COS(VarAq*8)*100,linethick2,colorred;
X1z: 0;
DRAWTEXT( CROSS(aq2,aq3),AQ2,'变盘日'),COLORwhite,align1;
DRAWTEXT( CROSS(aq3,aq2),AQ2,'变盘日'),COLORwhite,align1;
DRAWTEXT( CROSS(aq2,0),95,'时窗'),COLORwhite,align1;
DRAWTEXT( CROSS(aq3,0),95,'时窗'),COLORwhite,align1;
DRAWTEXT( CROSS(0,AQ2),95,'时窗'),COLORwhite,align1;
DRAWTEXT( CROSS(0,AQ3),95,'时窗'),COLORwhite,align1;
总天数:=HHVBARS(H,90);
交换次数:=FLOOR(总天数/21);
判断:=IF(交换次数>0,交换次数,0);
判定:=IF(判断-REF(判断,1)>0,判断,0);
距上次交换:BARSLAST(判定)+1,linethick0,COLORred;{NODRAW}
STICKLINE(判定,-100,-50,2,0),COLORyellow;
交换次数13:=FLOOR(总天数/34);
判断13:=IF(交换次数13>0,交换次数13,0);
判定13:=IF(判断13-REF(判断13,1)>0,判断13,0);
距上次交换13:BARSLAST(判定13)+1,linethick0,COLORGREEN;
STICKLINE(判定13,-100,-20,2,0),COLORred;
交换次数21:=FLOOR(总天数/55);
判断21:=IF(交换次数21>0,交换次数21,0);
判定21:=IF(判断21-REF(判断21,1)>0,判断21,0);
距上次交换21:BARSLAST(判定21)+1,linethick0,COLORGREEN;
STICKLINE(判定21,-100,0,2,0),COLORFFF00F;
STICKLINE(距上次交换+距上次交换13+距上次交换21=3 ,0 ,100 ,2 ,0 ),COLORRED;
总天数2:=LLVBARS(L,90);
交换次数212:=FLOOR(总天数2/21);
判断212:=IF(交换次数212>0,交换次数212,0);
判定212:=IF(判断212-REF(判断212,1)>0,判断212,0);
距上次交换212:BARSLAST(判定212)+1,linethick0,COLORGREEN;{NODRAW}
STICKLINE(判定212,100,50,2,0),COLORGREEN;
交换次数34:=FLOOR(总天数2/34);
判断34:=IF(交换次数34>0,交换次数34,0);
判定34:=IF(判断34-REF(判断34,1)>0,判断34,0);
距上次交换34:BARSLAST(判定34)+1,linethick0,COLORGREEN;
STICKLINE(判定34,100,20,2,0),COLORFFFFFF;
交换次数55:=FLOOR(总天数2/55);
判断55:=IF(交换次数55>0,交换次数55,0);
判定55:=IF(判断55-REF(判断55,1)>0,判断55,0);
距上次交换55:BARSLAST(判定55)+1,linethick0,COLORGREEN;
STICKLINE(判定55,100,100,2,0),COLORFFF00F;
STICKLINE(距上次交换212+距上次交换34+距上次交换55=3 ,100 ,100 ,2 ,0 ),COLORMAGENTA;
立春:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
惊蛰:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),2);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
清明:=FILTER(MONTH=4 AND (DAY=3 OR DAY=6 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2);
立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),2);
小满:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
芒种:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),2);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),2);
处暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
小寒:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2);
DRAWTEXT(立春,50,'立春'),COLORgreen,ALIGN1;
DRAWTEXT(雨水,50,'雨水'),COLORgreen,ALIGN1;
DRAWTEXT(惊蛰,50,'惊蛰'),COLORgreen,ALIGN1;
DRAWTEXT(春分,50,'春分'),COLORgreen,ALIGN1;
DRAWTEXT(清明,50,'清明'),COLORgreen,ALIGN1;
DRAWTEXT(谷雨,50,'谷雨'),COLORgreen,ALIGN1;
DRAWTEXT(立夏,50,'立夏'),COLORMAGENTA,ALIGN1;
DRAWTEXT(小满,50,'小满'),COLORMAGENTA,ALIGN1;
DRAWTEXT(芒种,50,'芒种'),COLORMAGENTA,ALIGN1;
DRAWTEXT(夏至,50,'夏至'),COLORMAGENTA,ALIGN1;
DRAWTEXT(小暑,50,'小暑'),COLORMAGENTA,ALIGN1;
DRAWTEXT(大署,50,'大署'),COLORMAGENTA,ALIGN1;
DRAWTEXT(立秋,50,'立秋'),COLORYELLOW,ALIGN1;
DRAWTEXT(处暑,50,'处暑'),COLORYELLOW,ALIGN1;
DRAWTEXT(白露,50,'白露'),COLORYELLOW,ALIGN1;
DRAWTEXT(秋分,50,'秋分'),COLORYELLOW,ALIGN1;
DRAWTEXT(寒露,50,'寒露'),COLORYELLOW,ALIGN1;
DRAWTEXT(霜降,50,'霜降'),COLORYELLOW,ALIGN1;
DRAWTEXT(立冬,50,'立冬'),COLORWHITE,ALIGN1;
DRAWTEXT(小雪,50,'小雪'),COLORWHITE,ALIGN1;
DRAWTEXT(大雪,50,'大雪'),COLORWHITE,ALIGN1;
DRAWTEXT(冬至,50,'冬至'),COLORWHITE,ALIGN1;
DRAWTEXT(小寒,50,'小寒'),COLORWHITE,ALIGN1;
DRAWTEXT(大寒,50,'大寒'),COLORWHITE,ALIGN1;
Az:=BARSCOUNT(C);
DRAWTEXT((Az+0)/13=FLOOR((Az+0)/13),-50,'转13天'),Color00C5FF;
DRAWTEXT((Az+0)/21=FLOOR((Az+0)/21),-50,'转21天'),Color0000FF;
DRAWTEXT((Az+0)/34=FLOOR((Az+0)/34),-50,'转34天'),Color00FF00;
DRAWTEXT((Az+0)/55=FLOOR((Az+0)/55),-50,'转55天'),Color0078FF;
DRAWTEXT((Az+0)/89=FLOOR((Az+0)/89),-50,'转89天'),Color00F8B9; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!