首页 > 编程语言 >通达信黑马全景主图指标公式源码

通达信黑马全景主图指标公式源码

时间:2024-01-27 11:35:41浏览次数:33  
标签:MA 主图 HIGH 通达信 源码 LOW CLOSE REF SMA

上:=(SMA(HIGH,21,2) * 1.05);
下轨道:(Sma(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;
BMA:=MA(CLOSE,118);
阻挡:=(SMA(HIGH,21,2) * 1.05);
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
K12:=SMA(RSV12,3,1);
D12:=SMA(K12,3,1);
J12:=((3 * K12) - (2 * D12));
RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=((3 * K24) - (2 * D24));
支撑位:=IF(crOSS(J,J24),LOW,REF(LOW,BArslAst(CROSS(J,J24))));
压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLOR00FF00;
U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);
L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));
RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));
RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));
RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));
RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1)))));
RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));
RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));
RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J > J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J > J24)))));
CB:=((AMOUNT / vol) / 100);
CD:=((CB > HIGH) OR (CB < LOW));
黑马趋势:=MA(CLOSE,3);
MAP:=MA(CLOSE,8);
AA5:=MA(CLOSE,21);
AA10:MA(CLOSE,8),COLOR00FFFF;
AA12:MA(CLOSE,12),COLOR0000FF;
{股旁网-股票公式网站 www.gupanG.com}
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),(LOW - 0.07),''追击''),COLORD1E768;
VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
支撑:=EMA(VARD,5);
短期底部:=LLV(OPEN,30);
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
X3:=REF(X2,1);
X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(Abs((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
X9:=FILTER(X8,4);
MAP1:=MA(CLOSE,60);
均线30:=MA(CLOSE,30);
均线89:=MA(CLOSE,89);
均线:=MA(CLOSE,16);
均线34:=MA(CLOSE,34);
均线55:=MA(CLOSE,55);
VAR1:=EMA(CLOSE,8);
VAR2:=EMA(VAR1,20);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=(VAR1 < MA(CLOSE,60));
VAR5:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR6:=SMA(VAR5,5,1);
VAR7:=SMA(VAR6,8,1);
VAR8:=(CROSS(VAR6,VAR7) AND (VAR7 < 16));
VAR9:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8);
VARA:=IF((CLOSE > 1000),VAR8,VAR9);
黑马起步:=(VAR3 AND VAR4);
逃遁:=VARA;
均线20:=MA(CLOSE,20);
均线120:=MA(CLOSE,120);
牛熊线:=MA(CLOSE,250);
VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));
VB:=(MA(CLOSE,20) > MA(CLOSE,120));
VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));
VD:=(MA(CLOSE,20) < MA(CLOSE,120));
VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));
VF:=(MA(CLOSE,20) > MA(CLOSE,250));
VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));
DRAWTEXT((((((均线 - REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF;
短期底部2:LLV(HIGH,30),LINETHICK2,COLOR0000FF;
上轨:(SMA(HIGH,21,2) * 1.092),POINTDOT,COLORFFFFFF;
中轨道:(SMA(HIGH,21,2) * 1.017),POINTDOT,COLORFFFFFF;
DRAWTEXT(FILTER(((((LOW < 下轨道) AND (CLOSE > MA(CLOSE,15))) AND (CLOSE > 短期底部2)) AND (HIGH < 压力位)),10),LOW,'★短线5%'),COLOR9DC522;
DRAWTEXT(((((((HIGH >= 均线120) AND (CLOSE < REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)) AND (CLOSE < 均线120)),(HIGH + 0.05),'减仓'),COLOR00FF00;
DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),(HIGH + 0.15),'←逃命');
DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),(LOW - 0.65),'★黑马短线'),COLOR00FFFF;
DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撑 - REF(支撑,1)) > 0)) AND ((支撑 - REF(支撑,1)) > 0)) AND (CLOSE < 阻挡)) AND ((均线 - REF(均线,1)) > 0)) AND (CLOSE >= 均线)) AND (HIGH < 阻挡)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((阻挡 - REF(阻挡,2)) > 0)),11),(LOW - 0.15),'★快马加鞭'),COLOR0000FF;
DRAWTEXT((((((((CROSS(黑马趋势,RL5) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (HIGH < 压力位)) AND (LOW <= 短期底部)) AND (CLOSE > 支撑位)) AND (CD < 1)) AND (CLOSE > OPEN)) AND (CLOSE > RL5)),LOW,'←短买'),COLOR00FF00;
DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 压力位)),3),LOW,'★机会难得'),COLORFFFFFF;

 

 




上一篇:通达信鼎牛涨停主图指标公式源码    下一篇:通达信主图指标筹码主图 筹码类指标公式


标签:MA,主图,HIGH,通达信,源码,LOW,CLOSE,REF,SMA
From: https://www.cnblogs.com/zhibiao/p/17991239

相关文章

  • 通达信鼎牛涨停主图指标公式源码
    ma3D:=MA(C,3);MA5D:=MA(C,5);ZX:=(MA3D+MA5D)/2;MA20D:=MA(C,20),NODRAW;MA30D:=MA(C,30),NODRAW;QSXS:=MA5D>=MA30DANDMA30D>REF(MA30D,1);GD:=ZX>=REF(ZX,1)ANDREF(ZX,1)<ref(zx,2);YB:=C>REF((O-C)/2+C,2);买:=crOSS(C,ZX)AND(GDORYB)AND......
  • 通达信分时启动指标公式源码副图
    BGTYU:=IF(DATE<=1150530,1,1);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(vol*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,ma((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU))......
  • 通达信探底擒妖指标公式源码副图
    {指标公式:加速起爆点出现时,在“灭庄一根线”副图中,主力线(红色)与操作线(黄色)均位于青色水平线附近,数值10左右,且尽量要求主力、操作线均紧挨青色水平线(10),一旦出现此现象,上涨空间很大;反之,如果离青色水平线越远,成功率会降低很多!!放宽条件:主力线15以内,操作线21以内。}VAR2:=REF(L......
  • 通达信分时起爆预警主图指标公式源码
    现价:=C,COLORWHITE,LINETHICK2;均价11:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2;TT:=BARSCOUNT(C);前高:=REF(HHV(H,TT),1);突破:=crOSS(C,REF(HHV(H,TT),1))ANDC/均价11<1.09ANDTT>1ANDTT<240;主力扫盘:=COUNT(突破,13)>=3ANDCROSS(C,REF(HHV(H,TT),1));已......
  • 通达信王子新量指标公式源码
    V1:=V/CAPITAL*100;maV5:=EMA(V/CAPITAL*100,5);MAV10:=EMA(V/CAPITAL*100,10);量能:((V1-MAV5)/MAV5*2+(V1-MAV10)/MAV10)*10;SZ:=C>0ANDC>REF(C,1);放量上涨:((crOSS(量能,20)OR(量能-REF(量能,1))>=10)ANDSZ)*10,COLORRED;stICKLINE(放量上涨,0,vol,3,0),COLORRED;......
  • 通达信【掘金红筹】全套公式 共29个指标 暴利到极致 底部连续涨停 捉妖抄底指标 源码
    通达信【掘金红筹】全套公式底部连续涨停捉妖抄底指标黑马启动源码文件分享指标包括主图附图选股指标在内,一共29个指标标准启动:股票启动连续涨停的第一日,发出‘标准启动信号强力启动:标准信号发出信号偏多,强力启动会进行筛选和屏蔽超级启动:标准启动信号多,强力启动信号少,超......
  • 通达信超短资金线指标公式源码副图
    90,COLOR9966FF,LINETHICK2;80,COLOR996699;30,COLOR9966FF,LINETHICK2;15,COLORGREEN;2,COLOR996699;A:=ma(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)......
  • StreamPark从零快速入门(本地调试、功能演示及源码分析)
    本文目录结构:1.引言2.StreamPark项目导入与调试|____Step1:物料准备|____Step2:导入项目|____Step3:配置与打包|____Step4:启动与调试3.演示(新建作业并上线)|____Step1:下载Flink安装包并启动集群|____Step2:配置Flink插件及集群|____Step3:配置作业并上线4.源码分......
  • 通达信红色启动指标公式源码副图
    启动线:SUM(Ema((C+L)/2,2),5)/10.158,COLORRED;平衡线:LLV(SUM(EMA((C+L)/2,2),5)/10.158,4),COLORGREEN;平台线:LLV(SUM(EMA((C+L)/2,2),5)/10.158,10),COLORBLUE;强弱线:EMA(启动线,21),COLORYELLOW;stICKLINE(平台线<启动线,启动线,平台线,0.1,0),COLORFFCCAA;STICKLIN......
  • 通达信极品量指标公式源码副图
    VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));量:AMOUNT/100000000,NODRAW;买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<open,var1*((high-open)+(close-low)),vol2)),colorred,pointdot;<br="">卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(......