DRAWGBK(C>REF(C,1),COLORRGB(127,0,63) ,COLORRGB(0,0,0),1); DRAWGBK(C=REF(C,1),COLORRGB(0,0,0) ,COLORRGB(0,0,60),1); DRAWGBK(C<REF(C,1),COLORRGB(63,128,0) ,COLORRGB(0,0,30),1); VAAR1:=(CLOSE>REF(CLOSE,1)) AND (CLOSE>REF(CLOSE,2)); VAAR2:=REF(VAAR1,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR3:=REF(VAAR2,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR4:=REF(VAAR3,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR5:=REF(VAAR4,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR6:=REF(VAAR5,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR7:=REF(VAAR6,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR8:=REF(VAAR7,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR9:=REF(VAAR8,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAARA:=REF(VAAR9,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAARB:=REF(VAARA,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAARC:=REF(VAARB,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAARD:=(CLOSE<REF(CLOSE,1)) AND (CLOSE<REF(CLOSE,2)); VAARE:=REF(VAARD,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAARF:=REF(VAARE,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR10:=REF(VAARF,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR11:=REF(VAAR10,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR12:=REF(VAAR11,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR13:=REF(VAAR12,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR14:=REF(VAAR13,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR15:=REF(VAAR14,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR16:=REF(VAAR15,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR17:=REF(VAAR16,1) AND (CLOSE<=REF(CLOSE,1)) AND (CLOSE>=REF(CLOSE,2)); VAAR18:=REF(VAAR17,1) AND (CLOSE>=REF(CLOSE,1)) AND (CLOSE<=REF(CLOSE,2)); VAAR19:=REF((((((((((((VAARD or VAARE) or VAARF) or VAAR10) or VAAR11) or VAAR12) or VAAR13) or VAAR14) or VAAR15) or VAAR16) or VAAR17) or VAAR18),1) AND VAAR1; VAAR1A:=REF((((((((((((VAAR1 or VAAR2) or VAAR3) or VAAR4) or VAAR5) or VAAR6) or VAAR7) or VAAR8) or VAAR9) or VAARA) or VAARB) or VAARC),1) AND VAARD; 买:VAAR19,CoLor00FFFF; 卖:VAAR1A,CoLorFF00FF; VA1:=((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28)))*(100); VA2:=SMA(VA1,4,1); VA3:=SMA(VA2,2,1); 主力建仓:IF((VA3<8.5) AND (VA2<11),15,(-15)),CoLor0000FF; MAV:=(((CLOSE)*(2)+HIGH+LOW)/(4))*(10); SK:=EMA(MAV,13)-EMA(MAV,34); SD:=EMA(SK,5); B:=((2)*(SK-SD))*(5.5); 拉升资金:=IF((IF((B>=0),B,(-18))>150) AND (DATE<=1080531),15,(IF((B>=0) AND (DATE<=1080531),B,(-150)))/(10)); 潜力股:(买=0) AND (COUNT(卖,BARSLAST(买))=0) AND ((CLOSE)/(REF(CLOSE,BARSLAST(买)))<=1.08) AND ((主力建仓=15) or (拉升资金>0)) AND (DATE<=1080531),CoLor999999; 暴涨股:(买=1) AND (COUNT((主力建仓=15),BARSLAST(卖))>=3),CoLorFFFF00; 暴涨潜力:=((CLOSE)/(REF(CLOSE,BARSLAST(暴涨股)))<=1.15) AND (COUNT(卖,BARSLAST(暴涨股))<=2); 坚决买进:(买 AND 暴涨潜力 or 暴涨股),CoLor0000FF; 暴涨潜力股:(坚决买进 or ((CLOSE)/(REF(CLOSE,BARSLAST(坚决买进)))<=1.15) AND (COUNT(卖,BARSLAST(坚决买进))<=2)),CoLor008000; STICKLINE(买,0,(-4),3,0),CoLor0000FF; STICKLINE(卖,0,4,3,0),CoLor00FF00; STICKLINE(潜力股,0,(-5),3,0),CoLorFF0000; STICKLINE(暴涨潜力股,0,5,3,0),CoLorF00FF0; DRAWTEXT(坚决买进,5,'坚决买'),CoLor00FFFF; DRAWTEXT(暴涨股,2,'★'),CoLor00FFFF; DRAWTEXT(买,(-10),'买'),CoLor0000FF; DRAWTEXT(卖,10,'卖'),CoLor00FF00; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!