VA1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4)); VA2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2; VA3:=EMA((MA(VA1,5)),10); VA4:=EMA((MA(VA1,15)),10); VA5:=EMA((MA(VA1,13)),21); VA6:=((VA3 + VA4) + VA5) / 3; 波段线:EMA((MA(CLOSE,5)),5),COLORFB333F,LINETHICK2; PARTLINE(波段线,波段线 > (REF(波段线,3)),RGB(255,255,0)),LINETHICK2; 趋势线:((((REF(VA6,1)) + VA6) + (REF(VA6,2))) / 3); PARTLINE(趋势线,CLOSE > VA2,RGB(225,0,0),CLOSE <= VA2,RGB(66,188,255)),COLORFFFF00,LINETHICK3; 天线:MA(REF(HHV(CLOSE,30),1),2),LINETHICK2,COLOR80E9FF; 地线:MA(REF(LLV(CLOSE,30),1),2),LINETHICK2,COLOR669900; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1); SD1:=FILTER(SD,12); SF:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1); SF1:=FILTER(SF,12); TSS1:=BARSLAST(SD1); 箱顶:REF(HIGH,TSS1),LINETHICK0,COLORRED; TSS2:=BARSLAST(SF1); 箱底:REF(LOW,TSS2),LINETHICK0,COLORGREEN; STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.5 ,0 ),COLOR00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR005500; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR006600; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR007700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR009900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00BB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00; STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0 ),COLOR0000FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF; AA1:=MA(CLOSE,20); AA2:=(CLOSE > MA(CLOSE,5)); AA3:=(MA(CLOSE,5) > MA(CLOSE,10)); AA4:=(CLOSE > MA(CLOSE,10)); AA5:=(MA(CLOSE,5) > MA(CLOSE,20)); AA6:=(CLOSE > MA(CLOSE,20)); AA7:=REF(AA1,1); AA8:=(AA1 > AA7); AAX:=(((((IF(AA2,10,(0 - 10)) + IF(AA3,10,(0 - 10))) + IF(AA4,10,(0 - 10))) + IF(AA5,10,(0 - 10))) + IF(AA6,10,(0 - 10))) + IF(AA8,10,(0 - 10))); DSLX:=(CLOSE / INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); V1:=MA(VOL,5); V2:=MA(VOL,10); T := BARSLAST(DISPSTATUS=1)+1; IF BARSTATUS=2 AND C<200 AND ((CROSS(AAX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。'),COLORRED,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(AAX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。'),COLORYELLOW,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(AAX,1) AND (V1 > V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。'),COLORYELLOW,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(AAX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。'),COLORYELLOW,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(1,AAX) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(1,AAX) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'随大盘一起下跌,呈明显缩量走势,考虑到大盘风险,减持或清仓。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(1,AAX) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'放量下跌,走势明显偏弱,离场观望。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((CROSS(1,AAX) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'缩量下跌,走势偏弱,离场观望。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'形态良好,强势明显,量能充足,可以继续持有。'),COLORRED,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'上行趋势不变,强势依然,但量能开始转弱,注意风险。'),COLORRED,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'仍然具备上涨潜力,但股性偏弱,可考虑减仓。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'走势趋弱,量能不足,减持大部分筹码。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX < 1) AND (REF(AAX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'形态不佳,注意成交量的变化,但目前不适合参与。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX < 1) AND (REF(AAX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN DRAWTEXTREL(500,20,'趋势不明,股价偏弱,注意量能变化,目前不宜参与。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX < 1) AND (REF(AAX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'有走强迹象,但量能不足,趋势不明,不适合操作。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C<200 AND ((((AAX < 1) AND (REF(AAX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN DRAWTEXTREL(500,20,'走势太弱,没有参与价值。'),COLORGREEN,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(AAX,1) AND (V1 >= V2)) THEN DRAWTEXTREL(500,20,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右,'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(AAX,1) AND (V1 >= V2)) THEN DRAWTEXTREL(500,20,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(AAX,1) AND (V1 < V2)) THEN DRAWTEXTREL(500,20,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌,'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(AAX,1) AND (V1 < V2)) THEN DRAWTEXTREL(500,20,'可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(1,AAX) AND (V1 >= V2)) THEN DRAWTEXTREL(500,20,'大盘形态走坏,重仓者可以减去大部分仓位。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (CROSS(1,AAX) AND (V1 < V2)) THEN DRAWTEXTREL(500,20,'大盘缩量调整,注意风险,短线清仓观望。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 >= V2)) THEN DRAWTEXTREL(500,20,'大盘走势良好,量能理想,可以继续持有强势股。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (((AAX >= 1) AND (REF(AAX,1) > 0)) AND (V1 < V2)) THEN DRAWTEXTREL(500,20,'大盘形态良好,但量能稍显不足,随时准备减仓。'),COLOR8000FF,LINETHICK2,ALIGN1; IF BARSTATUS=2 AND C>200 AND (((AAX < 1) AND (REF(AAX,1) < 0)) AND (V1 >= V2)) THEN DRAWTEXTREL(500,20,'大盘趋势不明,注意成交量变化,目前不适宜进场。'),CO |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!