drawbandָ?标源?Դ??
有些人认为我发布的技术指标华而不实,毫无辅助判断价值。指标fgets 源码然而,源码我认为这种看法是标源广告任务站源码错误的。技术指标并非一朝一夕之物,指标若你在使用过程中遭遇损失,源码可能是标源方法不当或指标本身存在误差。
今日,指标我将用自己常用的源码技术指标与传统指标进行对比,以证明技术指标的标源实际效用。
分型顶底幅图指标是指标文字图片转换源码一种典型的“优化MACD”指标,与传统MACD相比,源码它更为详细,标源能直观显示出金叉与死叉的源码_0的反码分界线,同时成交量的高低也更为明确。
分型顶底幅图公式代码如下:
DIFF:EMA(CLOSE,7) - EMA(CLOSE,); DEA:EMA(DIFF,9); DRAWBAND(DIFF,RGB(,,),DEA,RGB(,,)); MACD:2*(DIFF-DEA),COLORSTICK; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,,),"RSI.RSI2"(6,,)),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,,),A3+1)<"RSI.RSI1"(6,,) AND CROSS("RSI.RSI1"(6,,),"RSI.RSI2"(6,,)); C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); D1:=REF(C,C1+1)DIFF AND CROSS(DEA,DIFF); C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1)); D2:=REF(C,C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)); C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,,),"RSI.RSI1"(6,,)),1)); D3:=REF(C,C3+1)"RSI.RSI1"(6,,) AND CROSS("RSI.RSI2"(6,,),"RSI.RSI1"(6,,)); STICKLINE(B1>0,-0.1,0,1,0),COLORRED; STICKLINE(B2>0,-0.1,0,1,0),COLORFFFF; STICKLINE(B3>0,-0.1,0,1,0),COLORYELLOW; STICKLINE(D1>0,0.1,0,1,0),COLORFF; STICKLINE(D2>0,0.1,0,1,0),COLORFFCC; STICKLINE(D3>0,0.1,0,1,0),COLORWHITE; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORRED; STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORYELLOW; STICKLINE(MACD=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORMAGENTA; STICKLINE(C>0,0,0,,1),COLORBLUE; MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT; KDJ底背:IF(B2>0,-0.1,0),COLORFFFF,POINTDOT; RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT; MACD顶背:IF(D1>0,0.1,0),COLORFF,POINTDOT; KDJ顶背:IF(D2>0,0.1,0),COLORFFCC,POINTDOT; RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT; 强:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK2; 弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; DRAWICON(CROSS(DIFF,DEA),DEA,5); DRAWICON(CROSS(DEA,DIFF),DEA,); A:=REF(DIFF,1)REF(DIFF,1); B:=REF(DIFF,1)>REF(DIFF,2) AND REF(DIFF,2)>REF(DIFF,3) AND DIFF 0),0,MACD,0.1,0),COLORCC; STICKLINE((MACD > 0),0,MACD*0.9,0.1,0),COLOREE; STICKLINE((MACD > 0),0,MACD*0.8,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.7,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.6,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.5,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.4,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.3,0.1,0),COLORBBFF; STICKLINE((MACD > 0),0,MACD*0.2,0.1,0),COLORDDFF; STICKLINE((MACD > 0),0,MACD*0.1,0.1,0),COLORFFFF; STICKLINE((MACD < 0),0,MACD,0.1,0),COLORCC; STICKLINE((MACD < 0),0,MACD*0.9,0.1,0),COLOREE; STICKLINE((MACD < 0),0,MACD*0.8,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.7,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.6,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.5,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.4,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.3,0.1,0),COLORFFBB; STICKLINE((MACD < 0),0,MACD*0.2,0.1,0),COLORFFDD; STICKLINE((MACD < 0),0,MACD*0.1,0.1,0),COLORFFFF;
有谁知道这个通达信彩色布林指标源码
M:=;
BOLL:MA(CLOSE,M);
UB:BOLL+2*STD(CLOSE,M);
LB:BOLL-2*STD(CLOSE,M);
X:=UB-LB;
XUB:=IF(X>REF(X,1),UB,DRAWNULL);
DRAWBAND(UB,RGB(0,,),LB,RGB(0,,0));
DRAWBAND(XUB,RGB(,0,),LB,RGB(0,,0));
NOTEXTB:BOLL,COLORFFFF,LINETHICK2;
NOTEXTU:UB,COLORFFFF,LINETHICK2;
NOTEXTL:LB,COLORFFAA,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
你图中的上下2根线是N日的最高价和最低价。与布林公式没有关系。fhadmin源码研究视频
主力龙头狙-击主力进出套装指标公式通达信源码,擒牛胜率%,无未来函数
涨停龙头强势狙击
主图指标公式:
DRAWBAND(EMA(C,),RGB(,,),EMA(COST(),),RGB(0,0,0));
DRAWKLINE(H,O,L,C);
E:=EMA(C,5);
好运加倍1:=EMA(C,);
好运加倍2:=EMA(C,),LINETHICK2;
好运加倍3:=MA(C,);
条件与逻辑:
A:=CROSS(C,好运加倍2) AND DIF>=DEA AND DIF>=0 AND 好运加倍2>REF(好运加倍2,1) AND C>O;
平均成本:COST(1),COLORLIBLUE;
好运加倍4:=CROSS(C,好运加倍3) AND DIF>=DEA AND C>O;
好运加倍5:=A AND 好运加倍4;
好运加倍6:=REF((C<
副图指标公式:
好运加倍:=(3*C+LOW+OPEN+HIGH)/6;
牛熊线:=(* 好运加倍+*REF( 好运加倍,1)+*REF( 好运加倍,2)+...)/,COLORRED;
上趋势:=MA(LOW,)*1.;
次上趋势:=MA(LOW,)*1.;
次下趋势:=MA(HIGH,)*0.9;
下趋势:=MA(HIGH,)*0.8;
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C< 次上趋势,2,IF(C< 下趋势,0,1)));
ZD:=(C-REF(C,1))/REF(C,1)*;
HDZF:=(HHV(H,)-C)/(HHV(H,)-LLV(L,));
百万操作线:=MA(C,);
ABC1:=(C*2+HIGH+LOW)/4;
ABC2:=EMA(ABC1,)-EMA(ABC1,);
ABC3:=EMA(ABC2,5);
ABCA:=(-2)*(ABC2-ABC3)*3.8;
ABCB:=2*(ABC2-ABC3)*3.8;
趋势强度与操作线:
无庄控盘:=IF(主力控盘< 0,主力控盘,0),COLORYELLOW,NODRAW;
开始控盘:=IF(A,,0),LINETHICK3,COLORMAGENTA;
有庄控盘:=IF(主力控盘>REF(主力控盘,1) AND 主力控盘>0,主力控盘,0),COLORRED,NODRAW;
高度控盘:IF(ABC5> AND COST()< C AND 主力控盘>0,主力控盘,0),COLORFFFF,NODRAW;
选股指标公式:
E:=EMA(C,5);
好运加倍1:=EMA(C,);
好运加倍2:=EMA(C,),LINEHICK2;
好运加倍3:=MA(C,);
DIF:=(EMA(C,)-EMA(C,));
DEA:=EMA(DIF,9);
DD:=COST();
DD1:=EMA(DD,),CLORRED;
LS:=CROSS(C,DD1) AND DIF>=0 AND REF((CO AND E>好运加倍1 AND 好运加倍1>好运加倍2; 狙击:CROSS(C,DD1) AND DIF>=0 AND E>好运加倍1 AND 好运加倍1>好运加倍2 AND DIF>=DEA;
2024-12-24 00:28
2024-12-23 23:41
2024-12-23 23:27
2024-12-23 22:45
2024-12-23 22:37