MID2 := MA(CLOSE,21),COLORWHITE; UPPER2:=MID2 + 1.96*STD(CLOSE,21),COLORYELLOW; LOWER2:=MID2 - 1.96*STD(CLOSE,21),COLORYELLOW; UP2:=MID2 + 2.56*STD(CLOSE,21),COLORFF00FF; LOOW2:=MID2 - 2.56*STD(CLOSE,21),COLORFF00FF; {上升趋势} STICKLINE(C>=MID2,MID2,UP2,2,0),COLOR330066; {下降趋势} STICKLINE(C<MID2,MID2,LOOW2,2,0),COLOR545454; MID:MID2,COLORWHITE; UPPER:UPPER2,COLORYELLOW; UP:UP2,COLORFF00FF; LOWER:LOWER2,COLORYELLOW; LOOW:LOOW2,COLORFF00FF; 开口:=UP-LOOW; 相离:=C-MID; DRAWTEXT(C>=MID AND REF(开口,1)=HHV(开口,20),UPPER,'减仓'),COLOR00FF00; DRAWTEXT(C>=MID AND REF(相离,1)=LLV(相离,5),MID,'加仓'); 股价多头:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20); DRAWTEXT(FILTER(股价多头,20),LOOW*0.95,'开始建仓'),COLORRED; DRAWICON(FILTER(股价多头,20),LOWER,1),COLORRED; DRAWTEXT(CROSS(MID,C),UP,'空仓观望'),COLORYELLOW; DRAWICON(CROSS(MID,C),UPPER,2),COLORYELLOW; {K线} {STICKLINE((CLOSE > OPEN),CLOSE,OPEN,5.2,0),COLOR070084;} STICKLINE((CLOSE > OPEN),CLOSE,OPEN,4,1),COLOR0000A3; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3.5,0),COLOR000033; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3,0),COLOR000066; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.0,0),COLOR000099; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.5,0),COLOR0000CC; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.0,0),COLOR0000FF; STICKLINE((CLOSE > OPEN),CLOSE,OPEN,0.5,0),COLORCC66FF; STICKLINE((CLOSE > OPEN),OPEN,LOW,0.3,0),COLORRED; STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.3,0),COLORRED; {STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,5.2,0),COLOR070084;} STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,4,1),COLOR0000A3; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,3.5,0),COLOR0000B7; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,3,0),COLOR0000CD; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,2.0,0),COLOR0000E9; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,1.5,0),COLOR0754E9; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,1.0,0),COLOR076EF3; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,0.5,0),COLOR077BF3; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),OPEN,LOW,0.3,0),COLOR0000CD; STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,HIGH,0.3,0),COLOR0000CD; {STICKLINE((OPEN > CLOSE),CLOSE,OPEN,5.2,0),COLORFF5B00;} STICKLINE((OPEN > CLOSE),CLOSE,OPEN,4,1),COLORFF6C00; STICKLINE((OPEN > CLOSE),CLOSE,OPEN,3.5,0),COLORFF7B00; STICKLINE((OPEN > CLOSE),CLOSE,OPEN,2,0),COLORFF9C00; STICKLINE((OPEN > CLOSE),CLOSE,OPEN,1.5,0),COLORFFBE00; STICKLINE((OPEN > CLOSE),CLOSE,OPEN,1,0),COLORFFCC00; STICKLINE((OPEN > CLOSE),CLOSE,OPEN,0.5,0),COLORFFFF00; STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.3,0),COLORFF9C00; STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.3,0),COLORFF9C00; {STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,5.2,0),COLORFF5B00;} STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,4,1),COLORFF6C00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,3.5,0),COLORFF7B00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,2,0),COLORFF9C00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,1.5,0),COLORFFBE00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,1,0),COLORFFCC00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,0.5,0),COLORFFFF00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,LOW,0.3,0),COLORFF9C00; STICKLINE((OPEN = CLOSE AND C<REF(C,1)),OPEN,HIGH,0.3,0),COLORFF9C00; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!