以下是同花顺老鼠仓抄底副图源码

箱顶:HHV(MA((LOW+HIGH+CLOSE+O)/4,5),58),COLOR00AAFF;
箱底:LLV(MA((LOW+HIGH+CLOSE+O)/4,6),88),colorgreen;
 VAR2:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱底,2);
 VAR3:=(3*VAR2-2*SMA(VAR2,5,1))*0.3;
 VAR4:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
 VAR5:=EMA(3*VAR4-2*SMA(VAR4,18,1),5);
 VAR6:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
 VAR7:=3*SMA(VAR6,3,1)-2*SMA(SMA(VAR6,3,1),5,1);
 VAR8:=(INDEXC*2+INDEXH+INDEXL)/4;
 VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
 VARA:=EMA(VAR9,5);
资金流向:=(VAR9-VARA+箱底)*1,coloryellow;
 VARG1:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13);
趋势力度:VARG1,COLORFFAA99;
 AS:=箱底;
牛气冲天:STICKLINE( 趋势力度>=AS,AS ,趋势力度 ,4 ,0 ) ,colorred ;
 STICKLINE( 趋势力度<= REF(趋势力度,1)
 AND 趋势力度>AS,AS ,趋势力度 ,4 ,1 ) ,colorwhite;
趁机派发:STICKLINE( REF(趋势力度,2)<REF(趋势力度,1) AND 趋势力度<= REF(趋势力度,1)
 AND 趋势力度>AS,AS ,趋势力度 ,4 ,0 ) ,colorgreen ;
熊气盖天:STICKLINE( 趋势力度<AS-0.5,AS-0.5 ,趋势力度 ,8 ,1 ) , ;
 MA3:MA(C,3),COLORAAEE00;
 MA21:MA(C,21),colorwhite;
 DRAWTEXT( CROSS(MA3 , 箱底),L , ‘试’),colorred;
 DRAWTEXT( CROSS(MA3 , MA21),L , ‘买’),coloryellow;
 DRAWTEXT( CROSS(MA3 , 箱顶) AND C>箱顶,箱顶 , ‘追’),COLOR00EEAA;
 DRAWTEXT( CROSS(箱顶,MA3)AND C<箱顶 ,H , ‘卖’) ,COLORFFAA99;
 DRAWTEXT( REF(资金流向 ,2)<REF(资金流向 ,1) AND REF(资金流向 ,1)>资金流向
AND 资金流向>箱顶 AND C>箱顶,H*1.0051, ‘顶’),colorwhite;
 DRAWTEXT( CROSS(趋势力度 , 箱底),箱底, ‘加仓’),colorred;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。