顶底三合一幅图指标公式源码(趋势顶底指标源码公式)
本文目录一览:
- 1、有谁见过 这个“顶底趋势” 指标公式
- 2、求助OBV顶底背离指标公式和OBV底背离选股公式
- 3、求通达信副图指标
- 4、求这幅图指标的源码
- 5、求通达信顶底趋势指标源码
- 6、网上的一个 通达信 副图指标,求老师编写为选股公式,要求“黑马出现”选入。 副图源码如下:
有谁见过 这个“顶底趋势” 指标公式
先说好,我不要分!!!
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趋势线:EMA(Q3, 3),COLORRED,LINETHICK3;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)80, REF(长趋势,3), '顶'),COLORRED,LINETHICK5;
逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线1.3*长趋势,长趋势,'逢低买'),LINETHICK1;
买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;
金叉: CROSS(长趋势,趋势线);
DRAWTEXT(金叉,趋势线,'★'),COLORRED;
不知是不是 88
求助OBV顶底背离指标公式和OBV底背离选股公式
{顶底背离极品}
OBV:SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0),LINETHICK2,COLORGREEN;
B1:=REF(OBV,1);
B2:=REF(OBV,2);
B3:=REF(OBV,3);
B4:=REF(OBV,4);
CMAX:=MAX(MAX(MAX(OBV,B1),B2),B3);
CMIN:=MIN(MIN(MIN(OBV,B1),B2),B3);
持股:=STICKLINE(OBV=CMAX AND (B1=B2 OR B1=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND OBV=B2 OR
B2=CMAX AND B3=CMIN AND OBV=B1 OR B3=CMAX AND OBV=B1 AND OBV=B2,B1,OBV,3,0),COLORMAGENTA;
变盘:STICKLINE(OBV=CMAX AND B1=CMIN,B2,OBV,1,0),COLORWHITE;
DRAWTEXT(变盘,OBV,'变盘'),COLORWHITE;
下跌:=STICKLINE(OBV=CMIN AND (B1B2 OR B1B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND OBVB2 OR
B2=CMIN AND B3=CMAX AND OBVB1 OR B3=CMIN AND OBVB1 AND OBVB2,B1,OBV,8,1),COLOR00FF00;
STICKLINE(B1=CMAX AND OBV=CMIN,B2,OBV,3,0),COLOR009900 ;
买入:STICKLINE(B1=CMIN AND OBV=B2 OR (B2=CMIN AND B1=B3 OR
B3=CMIN AND B1=B2) AND B2B4 AND OBV=B1,B1,B2,1,0),COLORRED;
DRAWTEXT(买入,OBV,'买入'),COLORRED;
抛售:STICKLINE(B1=CMAX AND OBVB2 OR (B2=CMAX AND B1B3 OR
B3=CMAX AND B1B2) AND B2=B4 AND OBVB1,B1,B2,1,0),COLORCYAN;
DRAWTEXT(抛售,OBV,'抛售'),COLORCYAN;
V1:HHV(OBV,0);
V3:=HHV(OBV,5);
IF(OBV=V3,OBV,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(OBV=V1,OBV,DRAWNULL),COLORRED,LINETHICK3;
MA(OBV,7),COLORWHITE;
MA(OBV,21),COLORLIBLUE;
{DRAWTEXT(((((COUNT((CLOSE REF(CLOSE,1)),30) 18) AND (COUNT((CLOSE REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV REF(OBV,1)),30) 18) AND (COUNT((OBV REF(OBV,1)),3) = 3))) AND ((COUNT((VOL REF(VOL,1)),30) 3) AND ((VOL / CAPITAL) = (10 / 100)))),OBV,'买盘较强');
DRAWTEXT(((((COUNT((CLOSE REF(CLOSE,1)),30) 18) AND (COUNT((CLOSE REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV REF(OBV,1)),30) 18) AND (COUNT((OBV REF(OBV,1)),3) = 3))) AND ((COUNT((VOL REF(VOL,1)),30) 3) AND ((VOL / CAPITAL) = (10 / 100)))),OBV,'买盘逐渐加强');}
DRAWTEXT((((COUNT((CLOSE REF(CLOSE,1)),30) 18) AND (COUNT((CLOSE REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV REF(OBV,1)),30) 18) OR (COUNT((OBV REF(OBV,1)),3) = 3))),OBV,'买盘无力');
DRAWTEXT((CROSS(OBV,0) AND (COUNT((REF(OBV,1) 0),3) = 3)),OBV,'由负转正买入');
DRAWTEXT((CROSS(0,OBV) AND (COUNT((REF(OBV,1) 0),3) = 3)),OBV,'由正转负卖出。');
DRAWTEXT(((HHV(HIGH,20) = HIGH) AND NOT((HHV(OBV,20) = OBV))),OBV,'顶背离卖'),COLORGREEN;
DRAWTEXT(((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV))),OBV,'底背离买'),COLORRED;
DRAWTEXT((((ABS((OBV - REF(OBV,1))) / ABS(MA(OBV,5))) 0.07) AND (OBV REF(OBV,1))),OBV,'异常');
异常选股:
OBV:=SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0);
异常:(((ABS((OBV - REF(OBV,1))) / ABS(MA(OBV,5))) 0.07) AND (OBV REF(OBV,1)));
底背离选股:
OBV:=SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0),LINETHICK2,COLORGREEN;
DRAWTEXT(((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV))),OBV,'底背离买');
求通达信副图指标
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
这类图形,是需要多个公式合并一起编写出来的。你想要这样的效果,
需要把想组合一起的公式源码公式发出来。
求这幅图指标的源码
指标:庄家抬轿,公式源码如下(通达信里面有):
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘0,控盘,0,1,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLORRED;
有庄控盘:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0,1,0),COLORFF00FF;
高度控盘:IF(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLOR00FF00;
主力出货:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLOR00FF00,NODRAW;
求通达信顶底趋势指标源码
顶底趋势指标(通达信)
此指标是我精心收藏的指标,无未来函数,真正的好指标。图片演示在下面网址里.
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN;
STICKLINE(趋势50,趋势,50,4,0),COLOR32329B;
STICKLINE(50趋势,趋势,50,4,0),COLOR326400;
IF(趋势50, 趋势,DRAWNULL), COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(KD AND CCI0 AND DIFFDEA AND MACD0,1,0);
STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
STICKLINE(转点=0,50,50,6,0),COLORCYAN;
顶部:90,COLORYELLOW;
底部:10,COLORCYAN;
判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;
DRAWICON(CROSS(趋势,判断),判断,1);
DRAWICON(CROSS(趋势,顶部),顶部,2);
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
短线1: IF(VAR645,VAR6-45,0),COLORA6B8C1;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
VR2:=REF(LOW,1);
VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;
VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);
VR5:=LLV(LOW,30);
VR6:=HHV(VR4,30);
VR7:=IF(MA(CLOSE,58),1,0);
VR8:=EMA(IF(LOW=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;
VR9:=IF(VR8100,100,VR8);
主力进场:STICKLINE(VR9-150,0,VR9,3,0), , COLORFF00FF;
洗盘:IF(VR9REF(VR9,1),VR9,0),COLORGREEN,NODRAW;
STICKLINE(VR9REF(VR9,1),0,VR9,3,0),COLORGREEN;
短线获利:STICKLINE(REF("KDJ.J",1)0 AND "KDJ.J"0,60,25,2,0),COLORYELLOW;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
天线:100,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(BBUY,(LOW *1),1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,15);
DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;
MAV:=(2*C+H+L)/4;
VAR9:=LLV(LOW,34);
VAR7:=HHV(HIGH,34);
SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);
SD: EMA(0.667*REF(SK,1)+0.333*SK,2);
高抛:80, POINTDOT;
低吸:20, POINTDOT;
强弱分界:50, POINTDOT;
DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;
网上的一个 通达信 副图指标,求老师编写为选股公式,要求“黑马出现”选入。 副图源码如下:
XG:FILTER(TROUGHBARS(3,15,1)4,6);
你要求的这个是未来函数,建议不用。
所谓未来,通俗一点就是“马后炮”。
当你能看到这个:黑码出现 的时候,都已经成为过去,成为历史了。
或这你今天可以看到,当出现比现在的价格更低的时候,那这个线会随着价格的走低而变化,俗称:信号漂移。