测上升阻力测试指标源码(鼻阻力测试指标)
本文目录一览:
- 1、通达信分时横盘指标,请做一下带《突破》字样的选股公式,源码如下:
- 2、谁有东方财富金融终端的趋势DK线公式源码?
- 3、你很会写指标,我急求四度空间指标源码,请附上用法,非常感谢
- 4、高分!!赢在龙头GGZJSMX源码
- 5、谁知道这个指标源代码?主图!谢谢
- 6、同花顺DPO指标源码
通达信分时横盘指标,请做一下带《突破》字样的选股公式,源码如下:
均线:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0)));
均线H:=(均线*1.007 );
放量:=SUM(VOL,6)REF(MA(VOL,30),1)*10;
横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)1;
横涨:=横盘 AND 放量 AND (C均线H);
FILTER(横涨,100);
测试通过 可以预警 希望你帮你
谁有东方财富金融终端的趋势DK线公式源码?
东方财富金融终端的趋势DK线公式源码从未公布过,所以目前无法通过网络途径查询到会东方财富金融终端的趋势DK线公式源码的相关情况,传出来关于代码的信息应该是不真实的,有可能是一些炒股的程序员自行些的模拟终端的趋势DK线公式源码,只是模拟出未来可能出现的趋势,切勿盲目进行投资以免造成损失无法弥补。
拓展资料
一、DK线的简介
dk点用于判断在盘中买入和卖出的时间点,其中d是买点,k是卖点,用于在macd线上显示,该功能以红色趋势dk线表示主力资金进入流入阶段,蓝色趋势dk线表示主力资金进入流出阶段,所以可以利用dk点来分析个股,寻找买卖机会,当dk线发出d信号时,是一种买入信号,投资者可以考虑买入一些,当dk线发出K信号时,是一种买出信号,投资者可以考虑卖出一些,或者继续空仓观望。不只只利用dk点来分析个股,还可以结合其他技术指标一起分析,增加其发出信号的准确性,当dk线出现d信号时,其中macd指标、kdj指标出现金叉现象,则其买入信号更强,反之当dk线出现k信号时,其中macd指标、kdj指标出现死叉现象,则其卖出信号更强。
二、股票投资策略
1 当有更好的投资机会:准确预测价格走势的底部和顶部是投资者的理想选择,但在现实中很难做到。因此,更好的策略不是判断哪里是顶部,哪里是底部,而是一旦确定找到更好的投资机会,就随时抛出原始股票并购买新股票。
2 调整投资组合时:股票投资的成败主要取决于如何分配资金比例。只有采用合理的投资组合才能稳赢,投资组合要定期调整。例如,您可能决定将三分之一的资金投资于高科技股票,三分之一投资于低市盈率股票,三分之一投资于小盘股。数月后,由于占资金半壁江山的高科技股市值上涨,可能需要减持高科技股,将资金补充到其他板块。
你很会写指标,我急求四度空间指标源码,请附上用法,非常感谢
***
用法主图上有解盘
集成资讯全线主图加四度空间解盘主图(大智慧)
INPUT:M(10,3,250,3);均线:(MA(CLOSE,M) * 1),Colorred,linethick2;早晨之星:=REF(CLOSE,2)/REF(OPEN,2)0.95 AND REF(OPEN,1)ref(close,2) and="" abs(ref(open,1)-ref(close,1))="" ref(close,1)1.05 AND CLOSEREF(CLOSE,2);
黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)1.03 AND REF(OPEN,1)REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)0.02 AND CLOSE/OPEN0.97 AND CLOSE
长十字:=CLOSE=OPEN AND HIGH/LOW 1.03;
垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSEHIGH;
早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)0.95 AND REF(OPEN,1)ref(close,2) and="" ref(open,1)="REF(CLOSE,1)" and
CLOSE/OPEN1.05 AND CLOSEREF(CLOSE,2);
黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)1.05 AND REF(OPEN,1)REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN0.95 AND CLOSE
射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW3*(MAX(OPEN,CLOSE)-LOW) AND CLOSEMA(CLOSE,5);
倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE
锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE
吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSEMA(CLOSE,5);
穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)1.03 AND CLOSE/OPEN0.96 AND CLOSEREF(CLOSE,1))
OR (REF(CLOSE,1)/REF(OPEN,1)0.97 AND CLOSE/OPEN1.04 AND CLOSEREF(OPEN,1) AND OPEN
乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)1.03 AND CLOSE/OPEN0.97 AND OPENREF(CLOSE,1) AND CLOSE
曙光初现:=REF(CLOSE,1)/REF(OPEN,1)0.97 AND CLOSE/OPEN1.03 AND OPENREF(CLOSE,1);
身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)0.04 AND ABS(CLOSE-OPEN)/CLOSE0.005 AND
MAX(CLOSE,OPEN)MIN(REF(CLOSE,1),REF(OPEN,1));
十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)0.04 AND CLOSE=OPEN AND
CLOSE MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE MIN(REF(CLOSE,1),REF(OPEN,1));
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH0.001;
平底:=(ABS(LOW-REF(LOW,1))/LOW0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)=0.001);
大阳烛:=CLOSE/OPEN1.05 AND HIGH/LOWclose open+0.018;
三个白武士:=REF(CLOSE,2)REF(OPEN,2) AND REF(CLOSE,1)REF(OPEN,1) AND CLOSEOPEN
AND REF(CLOSE,1)REF(CLOSE,2) AND CLOSEREF(CLOSE,1);
双飞乌鸦:=REF(CLOSE,1)ref(open,1) and="" closeopen="" close="" open
孕育线:=REF(CLOSE,2)REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)=2/100 AND REF(OPEN,1)=REF(CLOSE,1) AND
(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)=2/100 AND REF(OPEN,1)=REF(CLOSE,2) AND REF(CLOSE,1)=REF(OPEN,2) AND C=OPEN AND
(CLOSE-OPEN)/OPEN=2/100 AND CLOSE=REF(OPEN,1) AND OPEN=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))=1/100;
多方炮:=REF(CLOSE,2)REF(OPEN,2) AND REF(CLOSE,1)OPEN;
出水芙蓉:=(OPENema(c,20) or="" openema(c,40)="" openMAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))
AND (V/MA(V,30)1.2 AND C/REF(C,1)1.049);
上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)1.03 AND REF(CLOSE,3)ref(open,3) and="" ref(close,2)ref(open,2)="" ref(close,1)ref(open,1)="" and
REF(LOW,4)ref(low,3) and="" ref(low,4)ref(low,2)="" ref(low,4)REF(HIGH,3) AND REF(HIGH,4)REF(HIGH,2) AND
REF(HIGH,4)REF(HIGH,1) AND CLOSE/OPEN1.03 AND CLOSEREF(CLOSE,4);
下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)0.97 AND REF(CLOSE,3)REF(OPEN,3) AND REF(CLOSE,2)REF(OPEN,2) AND REF(CLOSE,1)REF(OPEN,1) AND REF(LOW,4)ref(low,3) and
REF(LOW,4)ref(low,2) and="" ref(low,4)REF(HIGH,3) AND REF(HIGH,4)REF(HIGH,2) AND REF(HIGH,4)REF(HIGH,1) AND CLOSE/OPEN0.97 AND
CLOSE
跳空缺口:=HIGHREF(HIGH,1);
三只乌鸦:=REF(CLOSE,2)ref(open,2) and="" ref(close,1)ref(open,1)="" closeopen="" ref(close,1)ref(close,2)="" close
光脚阴线:=LOW=CLOSE AND HIGHLOW;
光头阳线:=HIGH=CLOSE AND HIGHLOW;
分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))0;
长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)0.667;
长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)0.667;
十字星:=CLOSE=OPEN AND HIGHLOW;
大阴烛:=OPEN/CLOSE 1.05 AND HIGH/LOW OPEN/CLOSE+0.018;
好友反攻:=(REF(CLOSE,1)OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE0.002)
OR (REF(CLOSE,1)REF(OPEN,1) AND CLOSEopen and="" abs(close-ref(close,1))="" close
倾盆大雨:=REF(C,1)/REF(O,1)=1.03 AND OREF(O,1) AND C
解盘:='【解盘】'+
IFs(倾盆大雨,'★倾盆大雨,见顶信号;','')+
IFs(大阴烛,'★大阴烛,后市向淡,发生逆转;','')+
IFs(好友反攻,'★好友反攻,底部反转;','')+
IFs(跳空缺口,'★跳空缺口,注意向上还是向下跳空;','')+
IFs(光脚阴线,'★光脚阴线,下跌信号;','')+
IFs(光头阳线,'★光头阳线,后市看涨;','')+
IFs(三只乌鸦,'★三只乌鸦,可能见顶回落;','')+
IFs(分离,'★分离,注意看涨分离和看跌分离;','')+
IFs(长下影,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;','')+
IFs(长上影,'★长上影,表明行情上档压力沉重,升势受阻;','')+
IFs(下跌三部曲,'★下跌三部曲,下跌信号;','')+
IFs(上升三部曲,'★上升三部曲,上涨信号;','')+
IFs(早晨之星,'★早晨之星,见底回升;','')+
IFs(黄昏之星,'★黄昏之星,见顶回落;','')+
IFs(十字星,'★十字星,有转向意味,注意股价位置在顶部还是底部;','')+
IFs(长十字,'★长十字,注意在顶部还是底部;','')+
IFs(垂死十字,'★垂死十字,下跌信号;','')+
IFs(早晨十字星,'★早晨十字星,上涨信号,见底回升;','')+
IFs(黄昏十字星,'★黄昏十字星,下跌信号,见顶回落;','')+
IFs(射击之星,'★射击之星,可能见顶回落,可靠性低;','')+
IFs(倒转锤头,'★倒转锤头,可能见底回升;','')+
IFs(锤头,'★锤头,可能见底回升,如有量配合,信号强烈;','')+
IFs(吊颈,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;','')+
IFs(平顶,'★平顶,温和的反转;','')+
IFs(穿头破脚,'★穿头破脚,顶部出现,见顶回落信号;','')+
IFs(乌云盖顶,'★乌云盖顶,见顶回落信号;','')+
IFs(曙光初现,'★曙光初现,后市见底回升;','')+
IFs(身怀六甲,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;','')+
IFs(十字胎,'★十字胎;','')+
IFs(平底,'★平底,温和的反转;','')+
IFs(大阳烛,'★大阳烛,看涨;','')+
IFs(三个白武士,'★三个白武士,每日收盘价上移,表示可能见底回升;','')+
IFs(双飞乌鸦,'★双飞乌鸦,行情将见顶回落;','')+
IFs(孕育线,'★孕育线,注意股价位置;','')+
IFs(多方炮,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;','')+
IFs(出水芙蓉,'★出水芙蓉,见底回升;','');
DRAWTEXTABS(0,0,解盘);
MA5:MA(C,5),COLORF00FF0;
MA21:MA(C,21),COLORE66878;
MA30:MA(C,30),COLORYELLOW; MA55:MA(CLOSE,55),LINETHICK1,ColorGREEN;
半年线:MA(C,120),COLOR399C7F,POINTDOT;
年线:MA(C,240),COLOR000999,POINTDOT;X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWICON(CROSS(X2,X3),L*0.98,7);
DRAWICON(CROSS(X3,X2),H*1.02,8);
DRAWGBKLAST(C0,STRIP(RGB(10,10,50),RGB(50,10,10),0));
均价:=(3*C+H+L+O)/6;
VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+
4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1VAR2 AND CLOSEVAR1;
SZ2:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2REF(VAR2,1)
AND H/VAR11.1 AND LVAR2 AND CLOSEVAR1;
SZ3:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2=REF(VAR2,1) AND H/VAR11.1;
SZ4:=VAR1VAR2 AND VAR1REF(VAR1,1) AND VAR2REF(VAR2,1)
AND CLOSEVAR2 AND CLOSE
SZ5:=(VAR1VAR2 AND VAR2REF(VAR2,1) AND VAR1REF(VAR1,1)
AND CLOSEVAR2 AND VAR1
AND VAR2ref(var2,1) and="" close
SZ6:=REF(VAR1,1)REF(VAR2,1) AND VAR1=VAR2 AND CLOSE
XD1:=VAR1=VAR2 AND CLOSEvar2 or="" (var1ref(var1,1)="" and="" var2
AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE
XD2:=VAR1=VAR2 AND CLOSEVAR1;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和度:=IF(SAT1,1,SAT)*100;
IF BARSTATUS=2 AND SZ1 THEN BEGIN
DRAWTEXTABS(390,25,'调整结束短线介入'),LINETHICK2,COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ2 THEN BEGIN
DRAWTEXTABS(390,25,'上升通道走势良好'),LINETHICK2,COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ3 THEN BEGIN
DRAWTEXTABS(390,25,'股价偏离注意调整'),LINETHICK2,COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ4 THEN BEGIN
DRAWTEXTABS(390,25,'上升通道调整洗盘'),LINETHICK2,COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ5 THEN BEGIN
DRAWTEXTABS(390,25,'转向特征注意离场'),LINETHICK2,COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ6 THEN BEGIN
DRAWTEXTABS(390,25,'通道改变坚决离场'),LINETHICK2,COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD1 THEN BEGIN
DRAWTEXTABS(390,25,'下跌通道只宜观望'),LINETHICK2,COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD2 THEN BEGIN
DRAWTEXTABS(390,25,'短期底部准备进入'),LINETHICK2,COLORYELLOW;
END;
;a:="LTFunc5@FORLT2";
s1:="LTFunc5@LT_S1";
hs:="LTFunc5@LT_HS";
ls:="LTFunc5@LT_LS";
p1:="LTFunc5@LT_P1";
upp:="LTFunc5@LT_UPP";
udd:="LTFunc5@LT_UDD";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
买入:p1=1 and ref(p1,1)=0,LineThick0,Precis0,ColorRed;
d1:=ema(abs("ddx.ddx"),60);
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10);
fb:=if(s1=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价'+numtostrn(udd,2)+',出现S点\n','若明日收盘价 '+numtostrn(upp,2)+',出现B点\n');
tr1:=ifs(s1=1,'明日收盘价'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价 '+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'B点','持股'),ifs(cross(1,p1),'S点','持币'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.BS点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
drawflagtext(1,fb,bs);
STICKLINE(p1=1 and c=o and o0,c,o,d2,0),color5454ff;
STICKLINE(p1=1 and c=o and o0,c,o,7.5,0),colorblack;
STICKLINE(p1=1 and c=o and o0,c,c,7.5,0),color5454ff;
STICKLINE(p1=1 and c=o and o0,o,o,7.5,0),color5454ff;
STICKLINE(p1=1 and c=o and o0,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c=o,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c=o,l,c,0.5,1),color5454ff;
STICKLINE(p1=1 and c=o,h,o,0.5,1),color5454ff;
STICKLINE((p11 or barscount(c)3) and c=o,c,o,7.5,1),colorffff54;
STICKLINE((p11 or barscount(c)3) and c=o,c,h,0.5,1),colorffff54;
STICKLINE((p11 or barscount(c)3) and c=o,l,o,0.5,1),colorffff54;
drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))1,h,'ss.bmp'),align1,valign2;闪:EMA(c+(h- l)*0.618,3),Color0099FF,LINETHICK0; 进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
DRAWTEXTREL(800,950,'测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618;
DRAWTEXTREL(580,950,'测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
高分!!赢在龙头GGZJSMX源码
赢在龙头破解全部指标源码 通达信可用
本文来自:理想论坛 作者:帮帮3388 浏览11064次
--------------------------------------------------------------------------------
原文:
{多空天地线}
Var2:=485;
Var3:=222;
Var4:=96;
Var5:=MA(HHV(HIGH,Var2),17);
Var6:=MA(HHV(HIGH,Var3),17);
Var7:=MA(HHV(HIGH,Var4),17);
Var8:=MA(LLV(LOW,Var2),17);
Var9:=MA(LLV(LOW,Var3),17);
VarA:=MA(LLV(LOW,Var4),17);
VarB:=MA((Var8*0.96+Var9*0.96+VarA*0.96+Var5*0.558+Var6*0.558+Var7*0.558)/6,17);
VarC:=MA((Var8*1.25+Var9*1.23+VarA*1.2+Var5*0.55+Var6*0.55+Var7*0.65)/6,17);
VarD:=MA((Var8*1.3+Var9*1.3+VarA*1.3+Var5*0.68+Var6*0.68+Var7*0.68)/6,17);
VarE:=MA((VarB*3+VarC*2+VarD)/6*1.738,17);
VarF:=MA((VarB*2.38+VarC*2.18+VarD*1.85+Var5*1.05)/4,17);
Var10:=MA((VarD+VarE)*0.5,17);
满仓: VarB;
半仓: VarC;
低吸: VarD;
中线: Var10;
高抛: VarE;
出货: VarF;
{交易机器人}
H1:EMA(C,8);
H2:EMA(H1,20);
Var1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;
Var2:=SMA(Var1,5,1);
Var3:=SMA(Var2,8,1);
Var4:=CROSS(Var2,Var3) AND Var3 20;
Var5:=CLLV(C,60)*1.13 AND Var4;
Var6:=IF(C200,Var4,Var5);
STICKLINE(H1H2,H1,H2,0,1),COLORRED;
STICKLINE(H1 H2,H1,H2,0,1),COLORGREEN;
{波段魔线}
阻力:CLOSE*1.17 LINETHICK1 COLORWHITE;
强阻力:CLOSE*1.2 LINETHICK1 COLORYELLOW;
{资金趋势}
均价:=(H+L+O+C)/4;
分水岭:ma(3*均价-2*sma(均价,2,1),12)linethick;
做多趋势:if(均价分水岭,均价,分水岭),COLORYELLOW;
支撑:REVERSE(做多趋势)+2*分水岭,COLORMAGENTA;
下跌:if(均价分水岭,均价,分水岭),COLORGRAY;
B:=(2*Ema(LLV(均价,7),10)-均价);
做空趋势:(3*B-2*SMA(B,10,1)),COLORgreen,linethick2;
阻力:=REVERSE(下跌)+2*分水岭;
{波段赢家}
获利了结:EMA(EMA(EMA(HIGH,5),5),5)*1.15,ColorFFFFFF,linethick1;
风险: EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW;
回档: EMA(EMA(EMA(HIGH,5),5),5)*1.05,Color00FF00;
平衡: EMA(EMA(EMA(HIGH,5),5),5),ColorFF00FF,linethick1;
反弹: EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,linethick1;
超跌: EMA(EMA(EMA(HIGH,5),5),5)*0.9,colorblue,linethick1;
{博弈资金}
A:=v*100/capital;
主力:MA(A,4),COLORYELLOW,POINTDOT;
游资:MA(A,9),COLORGREEN,POINTDOT;
大户:MA(A,17),COLORRED,POINTDOT;
散户:MA(A,34),COLORF2E9E7,POINTDOT;
关注线:MA(A,180),COLORFF00FF,linethick2;
STICKLINE(主力0,0,主力,2,0),COLORYELLOW;
STICKLINE(游资0,0,游资,2,0),COLORGREEN;
STICKLINE(大户0,0,大户,2,0),COLORRED;
STICKLINE(散户0,0,散户,2,0),COLORF2E9E7;
{多空对比}
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
{个股资金进出}
Var1:=SMA(AMOUNT,10,1)/1000000;
Var2:=REF(Var1,1);
Var3:=MA(REF(CLOSE,1),5);
收盘:Var1*CLOSE/Var3*1/10,COLOR009900,LINETHICK0,POINTDOT;
开盘:Var1*OPEN/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:Var1*HIGH/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:Var1*LOW/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命线:EMA(收盘,12),COLORWHITE;
昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK0;
涨跌:=(收盘-REF(收盘,1))/REF(收盘,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(收盘开盘,收盘,开盘,5,0),COLORRED;
STICKLINE(收盘开盘,最高,MAX(收盘,开盘),0,1),COLORRED;
STICKLINE(收盘开盘,MIN(收盘,开盘),最低,0,1),COLORRED;
STICKLINE(收盘开盘,收盘,开盘,5,0),COLORGREEN;
STICKLINE(收盘开盘,最高,MAX(收盘,开盘),0,1),COLORGREEN;
STICKLINE(收盘开盘,MIN(收盘,开盘),最低,0,1),COLORGREEN;
{股价定位图}
主力底仓:COST(9),COLORWHITE,LINETHICK2;
建仓:COST(21),COLORYELLOW,LINETHICK2;
平衡:COST(36),COLORMAGENTA,LINETHICK2;
中位:COST(67),COLORGREEN,LINETHICK2;
拉高:COST(84),COLORGRAY,LINETHICK2;
高位:COST(94),COLORBLUE,LINETHICK2;
STICKLINE(C=O,C,O,8,0),COLORRED;
STICKLINE(C=O,H,L,0,0),COLORRED;
STICKLINE(C=O,C,O,8,0),COLORGREEN;
STICKLINE(C=O,H,L,0,0),COLORGREEN;
{机构能量线}
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(Var1,3,1),linethick2,colorgreen;
Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(Var2,5,1)-8,linethick2,colorred;
{资金指数}
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORMAGENTA,linethick2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,linethick2;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
{主力操盘轨迹}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
Y0:SMA(RSV,3,1),COLORRED,LINETHICK1;
Y1:SMA(Y0,3,1),COLORYELLOW,LINETHICK1;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
Y2:SMA(RSV1,5,1),COLORMAGENTA,LINETHICK2;
Y3:SMA(Y2,10,1),COLORGREEN,LINETHICK2;
18,COLORWHITE;
85,COLORBLUE;
STICKLINE(Y0Y1,Y0,Y1,6,0),COLORRED;
STICKLINE(Y0=Y1,Y0,Y1,6,0),COLORYELLOW;
STICKLINE(Y2Y3,Y2,Y3,6,0),COLORMAGENTA;
STICKLINE(Y2=Y3,Y2,Y3,6,0),COLORGREEN;
{动能运行轨迹(不太一样)}
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
Y0:SMA(RSV,7,1);
Y1:SMA(SMA(RSV,7,1),3,1);
Y2:(((CLOSE/COST(13))=0.8)*10),COLORMAGENTA;
Y3:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORGREEN;
DRAWICON(CROSS(18,Y0) and Y121,10,1);
20,COLORBLUE;
80,COLORGRAY;
{多空生命量能}
生命量能: EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4,PRECISION2, STICK,colorred;
DRAWICON(生命量能23.15,生命量能,12);
DRAWICON(生命量能1,5,1);
生命分水岭: 10;
强势: 21;
量能底限:生命量能1,COLORYELLOW;
{波段至尊}
下轨:MA(CLOSE,20)+2*STD(CLOSE,20),PRECISION2,colorred;
上轨:ABS(EMA((EMA(下轨,6)+EMA(下轨,12)+EMA(下轨,24)+EMA(下轨,48))/4,2)*1.055),PRECISION2,colorred;
STICKLINE(下轨0,下轨,上轨,0.8,1),colorred 原文链接:
谁知道这个指标源代码?主图!谢谢
input:P1(5);
年:MA(CLOSE,26),color00ff00;
cp:="cpzb@cp";
cp,LINETHICK0;
DRAWICON(cp=1,l*0.95,4),ALIGN1;
DRAWICON(cp=9,h*1.05,5),ALIGN1;
DRAWtext(cp=1,l*0.925,'B'),coloryellow,ALIGN1;
DRAWtext(cp=9,h*1.085,'S'),colorgreen,ALIGN1;
dp:=if(c=INDEXC,0,1);
gj:=AMOUNT/v/100;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(DISPSTATUS=2 and dp=1 and c=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;
STICKLINE(DISPSTATUS=2 and dp=1 and c今日阻力,今日阻力,今日阻力,30,0),Color00FF00;
STICKLINE(DISPSTATUS=2 and dp=1 and c=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;
STICKLINE(DISPSTATUS=2 and dp=1 and c今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;
if DISPSTATUS=2 then a:=BARPOS;
if DISPSTATUS=1 then b:=BARPOS;
d:=a-b;
e:=hhv(h,d);
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2, e*1.08,'-----------------------------------'),ColorFFFFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c=今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+' '),ColorFF00FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+' '),ColorFF0000,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c=今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color0000FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color00FF00,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2, e*1.04,'-----------------------------------'),ColorFFFFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c=明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+' '),Color00FFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+' '),Color00FFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c=明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and c明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1) and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日,且有继续增大趋势'),Color8285FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1) and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,但有放大迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1)and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1)and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1)and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c0 and dp=1 and DISPSTATUS=2 and vref(v,1)and ma(v,5)ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;
Var1:=EMA(C,3);
Var2:=EMA(C,5);
Var3:=EMA(C,10);
Var4:=EMA(C,20);
Var5:=EMA(C,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
Var9:=EMA(Var7,8);
STICKLINE(Var71*REF(Var7,1),h,l,0.5,0),COLORBLUE;STICKLINE(Var71*REF(Var7,1),o,c,5, 1),COLORBLUE;
STICKLINE(Var71*REF(Var7,1),h,l,0.5,0),COLORRED;STICKLINE(Var71*REF(Var7,1),o,c,5, 1),COLORRED;
STICKLINE(Var71*REF(Var7,1) AND Var91*REF(Var9,1),h,l,0.5,0),COLORGREEN;STICKLINE(Var71*REF(Var7,1) AND Var91*REF(Var9,1),o,c,5, 1),COLORGREEN;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价ref(买进价,1);
STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价ref(加码价,1);
STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;
同花顺DPO指标源码
在个股日K线图的任何一天上,双击鼠标左键,在日K线图的右下角会有那一天的实时交易K线.
如果不会运用,可求助帮助功能.
如: 大智慧的指标快捷键
打开大智慧'帮助'--4.5指标快捷键一览
〖110〗:MA 移动平均线 〖112〗:CHANNELS 通道线
〖114〗:主力成本 〖115〗:TDX 天地线
〖116〗:SAR 抛物转向 〖117〗:XS 薛氏通道
〖118〗:PBX 瀑布线 〖120〗:ROC 变动速率
〖121〗:MTM 动力指标 〖123〗:DMI 趋向指标
〖125〗:RSI 相对强弱指标 〖126〗:主力轨迹
〖128〗:DMA 平均离差 〖130〗:DPO 区间震荡线
〖132〗:MACD 指数平滑异同平均线 〖133〗:KDJ 随机指标
〖134〗:CCI 顺势指标 〖139〗:PSY 心理线
〖140〗:BIAS 乖离率 〖141〗:WR 威廉指标
〖142〗:%B 布林极限 〖143〗:CR 能量指标
〖144〗:BRAR 人气意愿指标 〖148〗:TRIX 三重指数平滑平均数
〖149〗:ASI 振动升降指标 〖150〗:OBV 能量潮
〖151〗:主力进出 〖154〗:MFI 资金流量指标
〖155〗:PVI 正量指标 〖156〗:NVI 负量指标
〖157〗:VMACD 指数平滑异同平均线 〖158〗:VR 容量比率
〖161〗:WVAD 威廉变异离散量 〖163〗:EMV 简易波动指标
〖164〗:拉升在即 〖165〗:底部构成
〖166〗:主力买卖 〖170〗:MIKE 麦克指标
〖171〗:CDP 逆势操作 〖180〗:ADL 藤落指数
〖181〗:ADR 涨落比率 〖182〗:ABI 指标
〖183〗:STIX 指数平滑广量指标 〖187〗:EXPMA 平滑移动平均线
〖188〗:散户线 〖189〗:KCX 控筹线
〖190〗:成交笔数 〖191〗:每笔手数
〖AD〗:AD集散量、A/D上涨家数比 〖ABI〗:ABI 指标
〖ACD〗:ACD 收集派发 〖ADL〗:ADL 藤落指数
〖ADR〗:ADR 涨落比率 〖ALF〗:ALF 过滤指标
〖ASI〗:ASI 振动升降指标 〖ASR〗:ASR 浮筹比例
〖ATR〗:ATR 真实波幅 〖AMOUNT〗:AMOUNT 成交额
〖ADTM〗:ADTM 动态买卖气指 〖B〗:%B 布林极限
〖BBI〗:BBI 多空指数 〖BTI〗:BTI 广量冲力指标
〖BFTD〗:VB 波幅通道 〖BIAS〗:BIAS 乖离率
〖BOLL〗:BOLL 布林线 〖BRAR〗:BRAR 人气意愿指标
〖B3612〗:B3612三减六日乖离 〖BWIDTH〗:BWIDTH 布林极限宽
〖BBIBOLL〗:BBIBOLL 多空布林线 〖CD〗:CD 相对强度
〖CHAIKIN〗: CHAIKIN 佳庆线 〖CR〗:CR 能量指标
〖CCI〗:CCI 顺势指标 〖CDP〗:CDP 逆势操作
〖CHO〗:CHO 济坚指数 〖CYC〗:CYC 指南针成本均线
〖CYS〗:CYS 市场盈亏 〖CYW〗:CYW 主力控盘
〖CYQKL〗: CYQKL 指南针博弈K线长度 〖DDI〗:DDI 方向标准离差指数
〖DKX〗:DKX 多空线 〖DMA〗:DMA 平均离差
〖DMI〗:DMI 趋向指标 〖DMIQL〗DMI-QL 趋向指标(钱龙)
〖DPO〗:DPO 区间震荡线 〖DBCD〗:DBCD 异同离差乖离率
〖DBGC〗:DBGC 底部构成 〖DPTB〗:DPTB 大盘同步指标
〖EMV〗:EMV 简易波动指标 〖ENV〗:ENV 轨道线
〖EOM〗:EOM 活动能力 〖EXPMA〗:EXPMA 平滑移动平均线
〖FASTKD〗:FASTKD 随机快步 〖GLZB〗:ALF 过滤指标
〖HDNL〗:EOM 活动能力 〖II〗:II当日成交密度
〖JDQS〗:JDQS 阶段强势指标 〖JJZB〗:CHO 济坚指数
〖JEZF〗:江恩正方 〖KD〗:KD 随机指标
〖KDJ〗:KDJ 随机指标 〖KST〗:KST 完定指标
〖LFS〗:LFS 锁定因子 〖LWR〗:LWR 威廉指标
〖LJX〗:量价线 〖LJQS〗:VPT 量价趋势
〖LSZJ〗:LSZJ 拉升在即 〖M1〗:M1 移动平均线
〖MA〗:移动平均线 〖MI〗:MI 动量指标
〖MFI〗:MFI 资金流量指标 〖MJR〗:MJR
〖MTM〗:MTM 动力指标 〖MACD〗:MACD 指数平滑异同平均线
〖MASS〗:MASS 重量指数 〖MICD〗:MICD 异同离差动力指数
〖MIKE〗:MIKE 麦克指标 〖NDB〗:NDB 脑电波
〖NVI〗:NVI 负量指标 〖NORVOL〗:NORVOL 标准化成交量
〖OX〗:OX 图 〖OBV〗:OBV 能量潮
〖OSC〗:OSC 震荡量 〖OBOS〗:OBOS 超买超卖
〖OLAL〗:OLAL 叠加线 〖PR〗:PR 穿透率
〖PBX〗:PBX 瀑布线 〖PSY〗:PSY 心理线
〖PVI〗:PVI 正量指标 〖PVT〗:PVT价/量 趋势
〖PRICE〗:PRICE 价位线 〖PRICEOSC〗:PRICEOSC 指数震荡
〖QLCX〗:钱龙长线 〖QLDX〗:钱龙短线
〖QLZB〗:钱龙指标 〖QRSI〗:QRSI 量RSI
〖QHLSR〗:QHLSR 阻力指标 〖RC〗:RC 变化率指数
〖RS〗:RS 相对强弱比 〖RMI〗:RMI
〖ROC〗:ROC 变动速率 〖RSI〗:RSI 相对强弱指标
〖RCCD〗:RCCD 异同离差变化率指数 〖SP〗:SP 低点搜寻交易系统
〖SAR〗:SAR 抛物转向 〖SCR〗:SCR 筹码集中度
〖SMI〗:SMI 〖SJKB〗:FASTKD 随机快步
〖SJPF〗:ACD 收集派发 〖SOBV〗:SOBV 能量潮
〖SRMI〗:SRMI MI 修正指标 〖STIX〗:STIX 指数平滑广量指标
〖SLOWKD〗:SLOWKD 慢速KD 〖SDKJ〗:四度空间
〖TBR〗:TBR 新三价率 〖TDX〗:TDX 天地线
〖TDZS〗:CCI-4.0 通道指数 〖TRIX〗:TRIX 三重指数平滑平均数
〖TRIX40〗:TRIX-4.0 TRIX趋向指标 〖UOS〗:UOS 终极指标
〖VB〗:VB 波幅通道 〖VR〗:VR 容量比率
〖VMA〗:VMA 成交量指标 〖VOL〗:VOL 成交量
〖VPT〗:VPT 量价趋势 〖VOSC〗:VOSC 成交量震荡
〖VSTD〗:VSTD 成交量标准差 〖VMACD〗:VMACD 指数平滑异同平均线
〖WR〗:WR 威廉指标 〖WDZB〗:KST 完定指标
〖WLLD〗:威力雷达 〖WVAD〗:WVAD 威廉变异离散量
〖XS〗:XS 薛氏通道 〖XDT〗:XDT 心电图
〖ZIG〗: ZIG ZIG ZAG 之字转向 〖ZDZB〗:ZDZB 筑底指标
〖ZHPS〗:ZHPS 智慧判势 〖ZHSL〗:ZHSL 换手率
〖ZLGJ〗:ZLGJ 主力轨迹 〖ZLJC〗:ZLJC 主力进出
〖ZLMM〗:ZLMM 主力买卖 〖ZUPR〗:ZUPR 阶段涨幅
〖ZVOL〗:ZVOL 阶段总成交量 〖ZLCB〗:主力成本
〖ZAMOUNT〗:ZAMOUNT 阶段总成交额 〖CCI40〗:CCI-4.0 通道指数
〖STOCKRSI〗:STOCKRSI 〖SHX〗:散户线