公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

通达信将军看盘主图源码分享

发布时间:2024/4/8 9:38:29  浏览次数:
DRAWBAND(MA(C,60),RGB(80,0,0),MA(C,120),RGB(0,91,0));
DRAWBAND(MA(C,5),RGB(155,50,50),MA(C,10),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA240:=MA(C,240);
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL40:=MA(VOL,40);
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)< REF(VOL40,1);
DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;
AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));
BB1:=REF(COUNT(C< MA60,AA1)=AA1,1);
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB1 AND CC1,COLOR00FF00;
DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;
STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;
STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
ZJ:=AMOUNT/10000;
TM:=V-MA(V,10);
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1< C AND MA2< C AND MA3< C AND C>OPEN ;
DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;
STICKLINE(一穿三,OPEN,C,1,0),COLORFF00FF;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
ZBVAR0:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;
STICKLINE(C,ZBVAR0,ZBVAR0,8,0),COLORBLUE;
ZBVAR1:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);
ZBVAR2:=(MAX(MAX(V,REF(V,1)),REF(V,2))< REF(V,3));
ZBVAR3:=C>=REF(C,1);
ZBVAR4:=C< REF(C,1);
ZBVAR5:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);
TIM:=IF(DATE< 1140214,1,0);
缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;
百日低量:=(VOL=LLV(VOL,100))*TIM;
倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;
ZBVAR6:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;
ZBVAR7:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)< 1.9*REF(VOL,4) AND ZBVAR2)*TIM;
ZBVAR8:=COUNT(REF(ZBVAR6,1) AND (REF(ZBVAR1,1) OR REF(ZBVAR5,1)),3)=0 AND COUNT(REF(ZBVAR7,1) AND (REF(ZBVAR1,1) OR REF(ZBVAR5,1)),3)=0;
ZBVAR9:=ZBVAR6 AND ZBVAR2 AND ZBVAR1 AND ZBVAR3 AND ZBVAR8;
ZBVAR10:=ZBVAR7 AND ZBVAR2 AND ZBVAR1 AND ZBVAR3 AND ZBVAR8;
ZBVAR11:=ZBVAR9 OR ZBVAR10;
次ZBVAR9:=NOT(ZBVAR11) AND ZBVAR6 AND ZBVAR2 AND ZBVAR1 AND ZBVAR4 AND ZBVAR8;
次ZBVAR10:=NOT(ZBVAR11) AND ZBVAR7 AND ZBVAR2 AND ZBVAR1 AND ZBVAR4 AND ZBVAR8;
次ZBVAR11:=次ZBVAR9 OR 次ZBVAR10;
准ZBVAR9:=NOT(ZBVAR11 OR 次ZBVAR11) AND ZBVAR6 AND ((ZBVAR2 AND ZBVAR5) OR (COUNT(倍量柱,3)>=1 AND ZBVAR1)) AND ZBVAR8;
准ZBVAR10:=NOT(ZBVAR11 OR 次ZBVAR11) AND ZBVAR7 AND (ZBVAR2 AND ZBVAR5) AND ZBVAR8;
准ZBVAR11:=准ZBVAR9 OR 准ZBVAR10;
ZBVAR12:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11) AND ZBVAR6 AND ZBVAR1 AND ZBVAR3 AND ZBVAR8;
高量将军柱:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11) AND ZBVAR7 AND ZBVAR1 AND ZBVAR3 AND ZBVAR8;
将军柱:=ZBVAR12 OR 高量将军柱;
次ZBVAR12:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11 OR 将军柱) AND ZBVAR6 AND ZBVAR1 AND ZBVAR4 AND ZBVAR8;
次高量将军柱:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11 OR 将军柱) AND ZBVAR7 AND ZBVAR1 AND ZBVAR4 AND ZBVAR8;
次将军柱:=次ZBVAR12 OR 次高量将军柱;
准ZBVAR12:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11 OR 将军柱 OR 次将军柱) AND ZBVAR6 AND ZBVAR5 AND ZBVAR8;
准高量将军柱:=NOT(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11 OR 将军柱 OR 次将军柱) AND ZBVAR7 AND ZBVAR5 AND ZBVAR8;
准将军柱:=准ZBVAR12 OR 准高量将军柱;
BACKSET100:=BACKSET(ZBVAR11 OR 次ZBVAR11 OR 准ZBVAR11 OR 将军柱 OR 次将军柱 OR 准将军柱,4);
FILTER100:=FILTER(BACKSET100,3),NODRAW;
BACKSET101:=BACKSET(ZBVAR11,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET102:=BACKSET(次ZBVAR11,4);
FILTER102:=FILTER(BACKSET102,3);
BACKSET103:=BACKSET(准ZBVAR11,4);
FILTER103:=FILTER(BACKSET103,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
BACKSET105:=BACKSET(次将军柱,4);
FILTER105:=FILTER(BACKSET105,3);
BACKSET106:=BACKSET(准将军柱,4);
FILTER106:=FILTER(BACKSET106,3);
黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3);
黄金线实体下端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) AND MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;
黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3);
黄金线实体上端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))< REF(H,3);
黄金线实体中间:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))< MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));
黄金线实体中间1:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))< MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间2:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))< MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间3:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))< MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND L=MIN(MIN(L,REF(L,1)),REF(L,2));
BACKSET201:=BACKSET(黄金线下影线,4);
FILTER201:=FILTER(BACKSET201,3),NODRAW;
BACKSET202:=BACKSET(黄金线实体下端,4);
FILTER202:=FILTER(BACKSET202,3),NODRAW;
BACKSET203:=BACKSET(黄金线上影线,4);
FILTER203:=FILTER(BACKSET203,3),NODRAW;
BACKSET204:=BACKSET(黄金线实体上端,4);
FILTER204:=FILTER(BACKSET204,3),NODRAW;
BACKSET205:=BACKSET(黄金线实体中间,4);
FILTER205:=FILTER(BACKSET205,3),NODRAW;
BACKSET2051:=BACKSET(黄金线实体中间1,4);
FILTER2051:=FILTER(BACKSET2051,3),NODRAW;
BACKSET2052:=BACKSET(黄金线实体中间2,4);
FILTER2052:=FILTER(BACKSET2052,3),NODRAW;
BACKSET2053:=BACKSET(黄金线实体中间3,4);
FILTER2053:=FILTER(BACKSET2053,3),NODRAW;
BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER201));
BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER202));
BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER203));
BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER204));
BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER205));
BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER2051));
BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER2052));
BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(C),BARSLAST(FILTER2053));
最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053);
DAY1:=SUMBARS(FILTER100,1),NODRAW;
HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,L,REF(L,DAY1-1)),0),NODRAW;
HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
  DRAWTEXT_FIX(1,0,0.95,0,'公众号:指标公式源码'),COLORMAGENTA;
HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NODRAW;
HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,L,IF(DAY1< 2,DRAWNULL,REF(L,DAY1-2))),0),NODRAW;
HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,L,IF(DAY1< 3,DRAWNULL,REF(L,DAY1-3))),0),NODRAW;
HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,L,IF(DAY1< 4,DRAWNULL,REF(L,DAY1-4))),0),NODRAW;
黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,NODRAW;
立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);
立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND C>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND C>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND C>REF(HIGH,3),1,0)));
立桩量ZBVAR1:=BARSLAST(立桩量)=3 AND REF(L,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));
BACKSET300:=BACKSET(立桩量ZBVAR1,4);
BACKSET301:=BACKSET(立桩量三日突破,4);
立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;
DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;
DRAWTEXT(FILTER101,L*0.986,'↖ZBVAR11'),COLORYELLOW;
STICKLINE(FILTER101,OPEN,C,0.5,0),COLORYELLOW;
DRAWTEXT(FILTER102,L*0.986,'↖次ZBVAR11'),COLORYELLOW;
DRAWTEXT(FILTER104,L*0.986,'↖将军柱'),COLORYELLOW;
STICKLINE(FILTER104,OPEN,C,1.5,0),COLORYELLOW;
K1:=SUMBARS(FILTER104,1);
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;
 K2:=SUMBARS(FILTER101,1);
STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;

通达信将军看盘主图源码分享

通达信将军看盘主图源码分享

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识