2024主升出击 强攻上涨《通达信+指标+公式+副图+源码》

[复制链接]
查看52932 | 回复0 | 2024-1-11 09:29 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
659f447a8cd04.png
副图公式 源码支持:手机/电脑

MA5:=MA(CLOSE,5);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA55:=MA(CLOSE,55);
大盘1:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;
大盘2:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;
大盘3:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;
大盘大盘1+大盘2+大盘3)/3;
个股1:=(C-MA(C,6))/MA(C,6)*100;
个股2:=(C-MA(C,12))/MA(C,12)*100;
个股3:=(C-MA(C,24))/MA(C,24)*100;
个股个股1+个股2+个股3)/3,COLORRED;
攻击:IF( CROSS(个股,大盘),10,0 ) AND 个股>0,NODRAW,COLORF00FF0;
STICKLINE(攻击,0.1,3,3,0),COLORF00FF0;
DRAWTEXT(攻击, 3,' 攻击'),COLORF00FF0;
GUA1:=IF(CROSS(个股,0),5,0);
GUA2:=IF(CROSS(个股,大盘),10,0);
GUA3:=(HIGH+LOW+CLOSE)/3;
GUB0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
GUB1:=GUB0*(MIN(OPEN,CLOSE)-LOW);
GUB2:=GUB0*(GUA3-MIN(CLOSE,OPEN));
GUB3:=GUB0*(HIGH-MAX(OPEN,CLOSE));
GUB4:=GUB0*(MAX(CLOSE,OPEN)-GUA3);
GUP1:=IF(HIGH=LOW,4*GUB0,((GUB1+GUB2)-(GUB3+GUB4)))/SUM(VOL,10)*100;
GUP2:=((GUB2+GUB4)-(GUB1+GUB3))/SUM(VOL,10)*100;
GUP3:=((GUB1+GUB2)-(GUB3+GUB4))/((GUB1+GUB2)+(GUB3+GUB4))*100*17;
GUP4:=GUP1>2 AND GUP3>100 AND GUP2>3 AND VOL/CAPITAL*100>3;
预警:个股3>0 AND GUA1>0 AND GUA2>0 AND GUP4>0 AND MA13>REF(MA13,1),COLORRED;
STICKLINE(预警,0.1,6,3,0);
DRAWTEXT(预警, 6,' 强攻');
GUC1:=MA5>REF(MA5,1);
GUC2:=MA13>REF(MA13,1);
GUC3:=MA21>REF(MA21,1);
GUC4:=GUC1 AND GUC2 AND GUC3;
GUC5:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUC6:=IF(CLOSE>OPEN,GUC5*(HIGH-LOW),IF(CLOSE<OPEN,GUC5*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主升浪:GUP4>0 AND GUC4>0 AND GUC6>2700,COLORGREEN;
STICKLINE(主升浪,0.3,10,3,0),COLORRED;
DRAWTEXT(主升浪, 10,' 主升'),COLORRED;

选股公式源码



{选股公式一:攻击}
大盘1:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;
大盘2:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;
大盘3:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;
大盘:=(大盘1+大盘2+大盘3)/3;
个股1:=(C-MA(C,6))/MA(C,6)*100;
个股2:=(C-MA(C,12))/MA(C,12)*100;
个股3:=(C-MA(C,24))/MA(C,24)*100;
个股:=(个股1+个股2+个股3)/3,COLORRED;
攻击:IF( CROSS(个股,大盘),10,0 ) AND 个股>0,COLORF00FF0;

{选股公式二:强攻}
MA5:=MA(CLOSE,5);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA55:=MA(CLOSE,55);
大盘1:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;
大盘2:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;
大盘3:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;
大盘:=(大盘1+大盘2+大盘3)/3;
个股1:=(C-MA(C,6))/MA(C,6)*100;
个股2:=(C-MA(C,12))/MA(C,12)*100;
个股3:=(C-MA(C,24))/MA(C,24)*100;
个股:=(个股1+个股2+个股3)/3,COLORRED;
GUA1:=IF(CROSS(个股,0),5,0);
GUA2:=IF(CROSS(个股,大盘),10,0);
GUA3:=(HIGH+LOW+CLOSE)/3;
GUB0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
GUB1:=GUB0*(MIN(OPEN,CLOSE)-LOW);
GUB2:=GUB0*(GUA3-MIN(CLOSE,OPEN));
GUB3:=GUB0*(HIGH-MAX(OPEN,CLOSE));
GUB4:=GUB0*(MAX(CLOSE,OPEN)-GUA3);
GUP1:=IF(HIGH=LOW,4*GUB0,((GUB1+GUB2)-(GUB3+GUB4)))/SUM(VOL,10)*100;
GUP2:=((GUB2+GUB4)-(GUB1+GUB3))/SUM(VOL,10)*100;
GUP3:=((GUB1+GUB2)-(GUB3+GUB4))/((GUB1+GUB2)+(GUB3+GUB4))*100*17;
GUP4:=GUP1>2 AND GUP3>100 AND GUP2>3 AND VOL/CAPITAL*100>3;
强攻:个股3>0 AND GUA1>0 AND GUA2>0 AND GUP4>0 AND MA13>REF(MA13,1),COLORRED;
{选股公式三:主升}
MA5:=MA(CLOSE,5);
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA55:=MA(CLOSE,55);
大盘1:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;
大盘2:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;
大盘3:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;
大盘:=(大盘1+大盘2+大盘3)/3;
个股1:=(C-MA(C,6))/MA(C,6)*100;
个股2:=(C-MA(C,12))/MA(C,12)*100;
个股3:=(C-MA(C,24))/MA(C,24)*100;
个股:=(个股1+个股2+个股3)/3,COLORRED;
GUA1:=IF(CROSS(个股,0),5,0);
GUA2:=IF(CROSS(个股,大盘),10,0);
GUA3:=(HIGH+LOW+CLOSE)/3;
GUB0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
GUB1:=GUB0*(MIN(OPEN,CLOSE)-LOW);
GUB2:=GUB0*(GUA3-MIN(CLOSE,OPEN));
GUB3:=GUB0*(HIGH-MAX(OPEN,CLOSE));
GUB4:=GUB0*(MAX(CLOSE,OPEN)-GUA3);
GUP1:=IF(HIGH=LOW,4*GUB0,((GUB1+GUB2)-(GUB3+GUB4)))/SUM(VOL,10)*100;
GUP2:=((GUB2+GUB4)-(GUB1+GUB3))/SUM(VOL,10)*100;
GUP3:=((GUB1+GUB2)-(GUB3+GUB4))/((GUB1+GUB2)+(GUB3+GUB4))*100*17;
GUP4:=GUP1>2 AND GUP3>100 AND GUP2>3 AND VOL/CAPITAL*100>3;
GUC1:=MA5>REF(MA5,1);
GUC2:=MA13>REF(MA13,1);
GUC3:=MA21>REF(MA21,1);
GUC4:=GUC1 AND GUC2 AND GUC3;
GUC5:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
GUC6:=IF(CLOSE>OPEN,GUC5*(HIGH-LOW),IF(CLOSE<OPEN,GUC5*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主升:GUP4>0 AND GUC4>0 AND GUC6>2700,COLORRED;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则