【股票指标公式下载】-【大智慧】趋势买卖(W底选股、一阳穿三线)

合集下载

大智慧黄金线指标公式

大智慧黄金线指标公式

大智慧黄金线指标公式
大智慧黄金线指标是一种技术指标,许多投资者使用它来判断股票的买入和卖出信号。

下面是大智慧黄金线指标的公式:
黄金线 = EMA(自定义参数1,收盘价) - EMA(自定义参数2,收盘价)
其中,EMA表示指数移动平均线,自定义参数1和自定义参数2是用户可以根据自己的需要来选取的参数,收盘价为股票每日的收盘价。

黄金线指标可以用来判断股票价格的趋势,当黄金线上穿股票价格的时候,意味着股票价格可能处于上升趋势,可以考虑买入;当黄金线下穿股票价格的时候,意味着股票价格可能处于下降趋势,可以考虑卖出。

需要注意的是,大智慧黄金线指标只是一种辅助工具,不能作为独立的决策依据,投资者还应该结合其他指标和市场情况进行判断。

此外,自定义参数的选择也需要根据具体情况进行调整,不同的参数可能适用于不同的股票。

图解长阳不破技术指标和选股公式大智慧和通达信

图解长阳不破技术指标和选股公式大智慧和通达信

下面是通达信、大智慧指标源码和选股公式一、通达信指标源码{单阳不破} tdx阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,4,0),COLORRED; DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价;一般选股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(单阳)<9 AND 两天 AND 一般,低不破价,低不破价,2,0),COLOR88FF00;较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价;较强选股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(单阳)<9 AND 两天 AND 较强,中不破价,中不破价,2,0),COLOR0088FF;最强:=LLV(L,BARSLAST(单阳)-3)>高不破价 OR LLV(L,BARSLAST(单阳)-2)=高不破价;最强选股:STICKLINE(CURRBARSCOUNT<100 AND BARSLAST(单阳)<9 AND 两天 AND 最强,高不破价,高不破价,2,0),COLOR00FFFF;二、大智慧主图源码:{单阳不破}阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;DRAWTEXT(单阳,L*0.98,'阳'),COLOR00FFFF;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));单阳不破:=BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价ORLLV(L,BARSLAST(单阳))=低不破价);STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,11,0),COLORRED; DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;两天:=LLV(L,BARSLAST(单阳))>低不破价OR LLV(L,BARSLAST(单阳))=低不破价;一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价; 一般选股:STICKLINE(BARSLAST(单阳)<9 AND 两天 AND 一般,低不破价,低不破价,4,0),COLOR88FF00;较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价; 较强选股:STICKLINE(BARSLAST(单阳)<9 AND 两天 AND 较强,中不破价,中不破价,4,0),COLOR0088FF;最强:=LLV(L,BARSLAST(单阳)-3)>高不破价 OR LLV(L,BARSLAST(单阳)-2)=高不破价; 最强选股:STICKLINE(BARSLAST(单阳)<9 AND 两天AND 最强,高不破价,高不破价,4,0),COLOR00FFFF;大智慧选股源码:(三个独立公式)最强选股{单阳不破}阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;最强:=LLV(L,BARSLAST(单阳)-3)>高不破价 OR LLV(L,BARSLAST(单阳)-2)=高不破价; 最强选股:BARSLAST(单阳)<9 AND 两天 AND 最强;较强选股{单阳不破}阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价; 较强选股:BARSLAST(单阳)<9 AND 两天 AND 较强;一般选股{单阳不破}阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价; 一般选股:BARSLAST(单阳)<9 AND 两天 AND 一般;。

大智慧指标公式大全

大智慧指标公式大全

大智慧指标公式大全The formula for Da Zhi Hui indicators is a comprehensive set of mathematical equations used to calculate various financial metrics in the stock market. These indicators are essential tools for investors and traders to analyze market trends, make informed decisions, and manage risk effectively. 大智慧指标的公式是一套综合的数学方程,用于计算股票市场中的各种金融指标。

这些指标是投资者和交易员分析市场趋势,做出明智决策,有效管理风险的重要工具。

One of the most commonly used Da Zhi Hui indicators is the moving average, which smooths out price data to identify trends over a specific time period. Moving averages can be calculated for different durations, such as 10-day, 50-day, or 200-day moving averages, to provide insights into short-term, medium-term, and long-term trends. 其中最常用的大智慧指标之一是移动平均线,它通过平滑价格数据来识别特定时间段内的趋势。

移动平均线可以计算不同持续时间,如10日、50日或200日移动平均线,以提供关于短期、中期和长期趋势的见解。

Another important Da Zhi Hui indicator is the Relative Strength Index (RSI), which measures the speed and change of price movements todetermine whether a stock is overbought or oversold. The RSI is a momentum oscillator that ranges from 0 to 100 and is used to identify potential trend reversals and market turning points. 另一个重要的大智慧指标是相对强弱指数(RSI),它衡量价格运动的速度和变化,以确定股票是否被过度买入或卖出。

大智慧九转交易指标公式

大智慧九转交易指标公式

大智慧九转交易指标公式大智慧九转交易指标公式,是一种帮助投资者判断股票交易时机的技术指标。

这一指标以九个参数为基础,并结合中长期均线、量比、RSI等指标,突出了趋势强度和买卖信号的判断。

下面将详细介绍这一指标的公式和使用方法,希望对投资者在股票交易中有一定指导意义。

首先,我们来分析大智慧九转交易指标的公式。

该公式的核心是九个参数的加权指数移动平均值,即:N = (P1 * 9 + P2 * 8 + ...+ P9 * 1) / 45。

其中,P1代表最近一个交易日的收盘价,P2代表前一交易日的收盘价,以此类推,P9代表第九个交易日的收盘价。

九个参数分别按从最近到最远的顺序赋予权重,权重从9逐次递减到1。

然后,我们来解释大智慧九转交易指标的含义和具体应用。

该指标的数值区间在0到100之间,数值越大表示股票市场的买入信号越强,反之,数值越小则卖出信号越强。

当指标数值从低位上升到高位时,可视为买入信号;而当指标数值从高位下降到低位时,可视为卖出信号。

在使用该指标时,投资者可结合其他技术指标进行综合分析。

例如,结合中长期均线的走势,与大智慧九转交易指标的买卖信号一起判断。

如果九转交易指标显示为买入信号,并且股票价格在中长期均线上方运行,则可能是一个买入时机。

相反,如果指标显示为卖出信号,并且股票价格在中长期均线下方运行,则可能是一个卖出时机。

此外,还可以结合量比和RSI指标进行确认。

如果大智慧九转交易指标显示为买入信号,同时量比也呈现出上升趋势,即成交量与历史成交量相比增加;RSI指标也出现超卖的情况,即股票被过度抛售,那么买入信号就更可靠。

反之,如果指标显示为卖出信号,同时量比和RSI指标出现相应的下降趋势和超买现象,那么卖出信号更令人信服。

综上所述,大智慧九转交易指标公式是一种有效的股票交易指标,通过九个参数的加权指数移动平均值的计算,能够反映市场的买卖信号。

通过结合其他技术指标,如中长期均线、量比和RSI等,投资者可以更准确地判断股票的买卖时机,以提高交易的成功率。

大智慧预测换手率指标公式

大智慧预测换手率指标公式

大智慧预测换手率指标公式{参数:M1:5/1/10M2:10/5/30M3:20/10/60}{HSL自编}换手率:VOL/CAPITAL*100,VOLSTICK;MA1:MA(VOL,M1)/CAPITAL*100;MA2:MA(VOL,M2)/CAPITAL*100;MA3:MA(VOL,M3)/CAPITAL*100;日交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<113000,(TIMETO T0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);{六十分钟k线交易分钟}时交易分钟:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<103000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>103000 and CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-37800)/60, if(CURRENTTIME>130000 and CURRENTTIME<140000,(TIMETOT0(CURRENTTIME)-46800)/60, if(CURRENTTIME>140000 and CURRENTTIME<150000,(TIMETOT0(CURRENTTIME)-50400)/60,60)))),60);{三十分钟k线交易分钟}半时交易分钟:=if(CURRENTTIME>93000 and CURRENTTIME<150000,if(CURRENTTIME<100000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>100000 and CURRENTTIME<103000,(TIMETOT0(CURRENTTIME)-36000)/60, if(CURRENTTIME>103000 and CURRENTTIME<110000,(TIMETOT0(CURRENTTIME)-37800)/60, if(CURRENTTIME>110000 and CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-39600)/60, if(CURRENTTIME>130000 and CURRENTTIME<133000,(TIMETOT0(CURRENTTIME)-46800)/60, if(CURRENTTIME>133000 and CURRENTTIME<140000,(TIMETOT0(CURRENTTIME)-48600)/60, if(CURRENTTIME>140000 and CURRENTTIME<143000,(TIMETOT0(CURRENTTIME)-50400)/60, if(CURRENTTIME>143000 and CURRENTTIME<150000,(TIMETOT0(CURRENTTIME)-52200)/60,30)))))))),30);TT:=if(DATATYPE=8,vol/CAPITAL*100*240/日交易分钟数,if(DATATYPE=7,vol/CAPITAL*100*60/时交易分钟,if(DATATYPE=6,vol/CAPITAL*100*30/半时交易分钟,0)));预测换手率:IF(BARSTATUS=2,TT,0),LINETHICK0,COLORYELLOW;STICKLINE(BARSTATUS=2,换手率,VOL/CAPITAL*100,7,01),COLOR00FFFF,DOTLINE,LAYER7;。

大智慧指标公式-特牛强烈推荐

大智慧指标公式-特牛强烈推荐

大智慧指标公式-特牛强烈推荐1、超级短线:使用方法是:当操作线(红线)自下向上穿越阻力线时,买入;操作线走平或拐头向下趋势时卖出;两条线互不交叉时持股或空仓,不予操作。

结合大势操作更好。

逃顶:白柱变短卖出现白柱买(配合操作线)Var11:=HHV(HIGH,25);Var12:=LLV(LOW,25);阻力线:EMA((CLOSE-Var12)/(Var11-Var12)*100,20)/2,colorf0f000,Linethick2;突破线:= EMA((CLOSE-Var12)/(Var11-Var12)*100,5);操作线:突破线/2,colorred, Linethick2;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;S: IF(Var6>100,Var6-100,0);STICKLINE(REF(S,1)<s,s,ref(s,1),5,0);< p="">STICKLINE(REF(S,1)>S,S,REF(S,1),5,0);2、买卖奇准安全买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);急卖奇准:IF(HHV((买<准),5),100,50),COLORFF6699;短卖奇准:IF(HHV((买<准),10),100,50),COLORGREEN;奇准:= MA(卖,5);买卖:=LLV(奇准,10);急买奇准:IF(LLV((买<买卖),5),50,0),COLORRED;短买奇准:IF(LLV((买<买卖),10),50,0),COLORWHITE;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线- 神偷线)) / (辅助线+ 神偷线)) * 100),3));ADXR:=((动向趋势线+ REF(动向趋势线,3)) / 2);V AR1:=MA(LOW,1);V AR2:=MA(HIGH,2);V AR3:=MA(CLOSE,2);V AR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((V AR3 - V AR7),0),5,1) / SMA(ABS((V AR3 - V AR7)),5,1)) * 100);底部关注:IF(((动向趋势线> 88) AND (神偷线< 5.8)),80,0),LINETHICK3,COLORFF00FF;3、Var22:=REF(LOW,1);Var23:=SMA(ABS(LOW-Var22),3,1)/SMA(MAX(LOW-Var22,0),3,1)*100;Var24:=EMA(IF(CLOSE*1.3,Var23*10,Var23/10),3);Var25:=LLV(LOW,30);Var26:=HHV(Var24,30);Var27:=IF(MA(CLOSE,58),1,0);Var28:=EMA(IF(LOW<=Var25,(Var24+Var26*2)/2,0),3)/618*Var27;Var29:=IF(Var28>100,100,Var28);STICKLINE(Var29>-150,0,Var29,3,0), , colorff00ff;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , color00ff00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , colorff00ff;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , colorffffff;Vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Vark2:=REVERSE(Vark1);Vark3:=SMA(Vark1,3,1);波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CL OSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORff6666,linethick2; 卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>65,90,0),stick, ,colorffff00 ,linethick3;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORyellow;DRAWICON(出手就赢>0,50 ,1);买点准备:IF(趋势线<=10,0,10), colorff9933,linethick3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366ff,; DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ; DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$备钱'),COLOR33ffcc,;4、超级短买RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;DRAWTEXT(REF(J,1)<0 AND J>0,50,'短买'),colorred ;短线获利:STICKLINE(REF(J,1)<0 AND J>0,60,0,2,0),color0000ff;目前位置:K;技术低位:20;技术中位:50,POINTDOT;技术高位:80;</s,s,ref(s,1),5,0);<>。

【股票指标公式下载】-【大智慧】红柱选股(主力启动线、资金异动线、主力洗盘线)

【股票指标公式下载】-【大智慧】红柱选股(主力启动线、资金异动线、主力洗盘线)

【大智慧】红柱选股(主力启动线、资金异动线、主力洗盘线)-指标公式源码VOLUME:VOL,VOLSTICK;主力启动线:MA(VOLUME,5),COLORRED,LINETHICK2;主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK2;资金异动线:MA(VOLUME,135),COLORBLUE,LINETHICK2;出击:STICKLINE(CROSS(主力启动线,资金异动线) OR ((主力洗盘线 > 资金异动线) AND CROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;启动:STICKLINE(主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) OR REF(VOL,2)<REF(资金异动线,2))),0,VOL,3,0),COLORGREEN;V1:=CLOSE/REF(CLOSE,3)>=1.1;V2:=BACKSET(V1,2);V3:=REF(CLOSE,3)*1.1;V4:=CROSS(C,V3);OK:STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,5,0),COLORRED;COND:(CROSS(主力启动线,资金异动线) OR ((主力洗盘线 > 资金异动线) AND CROSS(主力启动线,主力洗盘线)))OR (主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) OR REF(VOL,2)<REF(资金异动线,2))))OR (V2 AND COUNT(V2,2)=1),LINETHICK0;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);长期线:=A+100;短期线:=B+100;中期线:=D+100;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线 AND 短期线<长期线+4;顶部:=FILTER(顶部区域,4);STICKLINE( {见顶 OR} 顶部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;VAR6:=REF(CLOSE,1);VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100; STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099FF,LINETHICK2; 均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4); 趋势一:=((((均势一 - REF(均势一,1)) / REF(均势一,1)) * 1000) + 50); 趋势二:=((((均势二 - REF(均势二,1)) / REF(均势二,1)) * 1000) + 50); 波段高位:=(CROSS(趋势一,趋势二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));STICKLINE(波段高位,VOL,VOL*1.08,20,1 ),COLORGREEN,LINETHICK2;【大智慧】红柱选股(主力启动线、资金异动线、主力洗盘线)-指标公式效果图(文档来源:若水财经社区)。

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)(2008-10-03 13:51:58)转载(一)大智慧逃顶指标公式(看盘必备)Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));Var4:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);VarD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);大趋势: Var3,colorblue;顶线: IF(VarB<90,VarB,100);多方: IF(Var1>0,Var1,0), LINESTICK;空方: -IF(Var1<0,Var2,0), LINESTICK;抄底: Var20,colorred,linethick2;预警系统: (IF((Var7>=200 AND Var6>=150) OR CROSS(65,多方),15,IF(Var7<=-200AND Var6<=-150,-15,Var9))+65),COLORCcbbdd,LINETHICK2;STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);t2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);t8:=Var3<=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=65 AND 抄底=0AND 空方>=REF(空方,1) AND VarC<REF(VarD,1);DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上涨过急!'),COLOR00FFFF;B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'庄家出货!'),COLOR00FFFF;B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反弹!'),COLOR00FFFF;B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'抢反弹!'),COLOR00FFFF;B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'资金进场!'),COLOR00FFFF;DRAWTEXT(t8 and count(t8,30)=1,90,'见顶回落!'),COLOR00FFFF;(二)大智慧专用抄底逃顶指标参数n:40 100 60Var1:=HHV(HIGH,9)-LLV(LOW,9);Var2:=HHV(HIGH,9)-CLOSE;Var3:=CLOSE-LLV(LOW,9);Var4:=Var2/Var1*100-70;Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;Var6:=(2*CLOSE+HIGH+LOW)/4;Var7:=SMA(Var3/Var1*100,3,1);Var8:=LLV(LOW,34);Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);VarA:=IF(Var9>100,Var9-100,0);VarB:=HHV(HIGH,34);AA:= VarA*2;BB:= EMA((Var6-Var8)/(VarB-Var8)*100,13);VarC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CC:= SMA(Var5,20,1);VarD:=SMA(AA,2,1)-AA;VarE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2a:=SMA(VAR1a,9,1)+100;VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4a:=SMA(VAR3a,3,1);VAR5a:=SMA(VAR4a,3,1)+100;VAR6a:=VAR5a-VAR2a;S: IF(VAR6a>n,VAR6a-n,0);STICKLINE(BB-VarC>0,BB,VarC,5,0),colorred;STICKLINE(BB-VarC<0,BB,VarC,5,0),colorffcccc;STICKLINE(CC-SMA(CC,5,1)>0,CC,SMA(CC,5,1),5,0),coloryellow;STICKLINE(CC-SMA(CC,5,1)<0,CC,SMA(CC,5,1),5,0),colorblue;STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),colorff00ff;STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),colorffcc66;逃顶指标使用注意事项:该指标有两条柱形趋势线,分别是短期和长期趋势线,加这两条趋势线的作用是,可随时比照主图K线方便观察趋势,是对顶部指标的补充.1.当粉色柱线连续出现且柱线时,要特别关注该股的运行趋势,结合大盘的走势和该股的成交量跟踪观察,一旦柱线逐渐缩短,即可判定顶部即将形成,如果当天股票下跌即将收阴且成交量萎缩就应该果断卖出. 做短线时,只要出现第一根粉色柱线,当天可介入,第二天看该股的走势是否维持强势,如果是持股,否则冲高时获利了结. 2.股票下跌连续出现青色柱线,在青色柱线没跌到底线消失之前不要急于抄底(个别情况例外),要经过几个交易日或者更长时间才能出现转机,这时再择机介入(用这个指标查看一下历史走势就能发现规律). 3.用该指标可波段操作,如果手中的股票严重被套,用上述方法操作在顶部卖出80%,底部补进,几个来回就有可能解套.。

【股票指标公式下载】-【大智慧】趋势买卖(W底选股、一阳穿三线)

【股票指标公式下载】-【大智慧】趋势买卖(W底选股、一阳穿三线)

【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;var4:=SMA(RV,3,1);var5:=SMA(var4,3,1);KK:=EMA(SMA(RG,3,1),2);DD:=SMA(KK,3,1);DRAWTEXTREL(0,10,STKLABEL+' '+STKNAME+''),Color00DDFF;DRAWTEXT(cross(var4,var5) and cross(KK,DD),10,'共振点'),COLORyellow; VERTLINE(cross(var4,var5) and cross(KK,DD),1),COLOR00FFFF;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);W底选股:IF(SSS-SSB=2 ANDSSS>REF(SSS,1),-22,0),LINETHICK2,COLORffff00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORffff00; DRAWTEXT(A1,-8,'↖W底'),COLORyellow;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),-6,0) ,COLORyellow,LINETHICK3;IF((VARO7<10),-3,0) ,COLORblack,LINETHICK3;MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:=EMA(C,30);MA55:=EMA (C,55);YCX:=MA5>=REF(MA5,1);H1:=MAX(MAX(MA5,MA13),MA30);L1:=MIN(MIN(M A5,MA13),MA30);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,38,0),COLORFFFF00,LINETHICK3;IF(一阳穿三线,30,0),COLORblack,LINETHICK3;DRAWTEXT(一阳穿三线,42,'↙满'),COLORffff00;VAR2:=0.0001*AMOUNT;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:LLV(VAR2,100)=VAR2,STICK,COLORCC66FF,LINETHICK0; DRAWTEXT(百日地量,-8,'↖地'),COLORCC66FF;AA05:=MA(C,5);五日乖离率:=(c-AA05)/AA05*100;BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);加速度5:=ema((速度5-ref(速度5,1)),3);AA10:=MA(C,10);AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(c-AA30)/AA30*100;(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) andAA30>ref(AA30,1);(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) andAA30<ref(AA30,1);BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;强势狙击选股:filter(BB30>30 and BB10>45 and cross(BB05,60),10);加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1)and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30; 青云直上选股:if(filter(MR,10),30,0),COLORblue,LINETHICK3;if(filter(MR,10),20,0),COLORblack,LINETHICK3;DRAWTEXT(青云直上选股,36,'↙青'),COLORblue;QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*10 0<=-28 AND(CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-1 9AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR (((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 ANDIF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA(( CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV( HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND(COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3);DRAWTEXT(QUAN,88,'弱市百发百中'),COLORffff00;弱市百发百中:IF(QUAN,88,0),COLORffff00,LINETHICK2;IF(QUAN,60,0),COLORffff00,LINETHICK2;LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;逃顶:CROSS(80,RSI)*68,LINETHICK3 ,colorgreen;CROSS(80,RSI)*50,LINETHICK3 ,colorblack;DRAWTEXT(CROSS(80,RSI),68,'顶 '),colorgreen;BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;底背离:IF(MN<-4 ,-11,0),COLORA67D3D,LINETHICK3;顶背离: IF((VAR26>90),110,100), COLORgreen,LINETHICK3;IF(MN<-4 ,-8,0),COLORblack,LINETHICK2;IF((VAR26>90),106,100), COLORblack,LINETHICK3;100,COLORffff00, LINETHICK1;{趋势买卖}V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);买入:STICKLINE(CROSS(价位线,0.3),50,5,2,0),COLOR00CCFF,LINETHICK1; STICKLINE(CROSS(价位线,0.3),30,5,2,0),COLORRED,LINETHICK1;卖出:STICKLINE(CROSS(3.5,价位线),60,100,2,0),COLORRED,LINETHICK1; STICKLINE(CROSS(3.5,价位线),80,100,2,0),COLORFF9900,LINETHICK1; DRAWTEXT(CROSS(价位线,0.3),45,'←B'),COLORFFAA66;DRAWTEXT(CROSS(3.5,价位线),75,'←S'),COLORFFFFCC;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)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离1:=MA(BIAS,3);乖离:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORAAAAFF,LINETHICK3; DRAWTEXT(乖离,32,'↙乖'),COLORAAAAFF;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,20,0),COLORblack,LINETHICK3; VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORff00ff,LINETHICK2;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);准备:( IF(((动向趋势线 > 88) AND (神偷线 <5.8)),68,0)),LINETHICK1,COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;K:=SMA(RSV,3,1);Var1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);买点选股:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05and (v/ma(v,5)>2 or c/ref(c,1)>0.035));IF(买点选股,28,0),COLORyellow,LINETHICK3;IF(买点选股,22,0),COLORblack,LINETHICK3;DRAWTEXT(买点选股,32,'↙买'),COLORyellow;RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);天之:=(AV + NEWVOL);低入:if(CROSS(天之,0),28,0),LINETHICK3,COLOR9370DB;if(CROSS(天之,0),22,0),LINETHICK3,COLORblack;DRAWTEXT(低入,32,'↙入'),COLOR9370DB;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORyellow, LINETHICK1;趋势线:MA(股价线,6),COLORred, LINETHICK3;地量:=VOL<LLV(VOL,30)*1.001;三十日地量:地量>0,LINETHICK2;地量1:=VOL<LLV(VOL,60)*1.001;六十日地量:地量1>0;地量2:=VOL<LLV(VOL,120)*1.001;一百二十日地量:地量2>0;即涨:CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45) AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1) ANDSMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1 ),23,1),1),COLOrEBC79E,LINETHICK2;DRAWTEXT(即涨,1.3,'即涨'),COLOREBC79E;牛大底:"1A0001$CLOSE"/REF("1A0001$CLOSE",23)<0.78AND C/REF(C,120)<0.558 and ref(c,1)/l<1.5and ref(c,1)<>ref(o,1) and ref(c,2)<>ref(o,2) andref(c,3)<>ref(o,3),COLOr4080FF,LINETHICK2;DRAWTEXT(牛大底,1.8,'牛大底'),COLOR4080FF;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));突破:W4 AND COUNT(W4,5)=1,LINETHICK2,COLOR4D4DFF;DRAWTEXT(突破,-5,'突破'),COLORffff00;90,COLORGREEN, LINETHICK1;50,COLORwhite, LINETHICK1;【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式效果图(文档来源:若水财经社区)。

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)INPUT:AM(1,0,1),AJ(1,0,1),AC(1,0,1),AR(1,0,1),AD(1,0,1),DM(1,0,1),ZL(1,0,1); DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(0,0,120),0));{1.K线}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),color0000FF;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),color006600;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),color008800;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),color00AA00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),color00BB00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),color00CC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),color00DD00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),color00EE00;STICKLINE((OPEN > CLOSE),HIGH,LOW,1,0),color00FF00;LC:=REF(C,1);卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0; DRAWTEXT(CROSS(80,卖黄金) ,high*1.04,'顶'),COLOR00ffFF,ALIGN1,LINETHICK1; STICKLINE(CROSS(80,卖黄金) AND C<O,H,L,2,0),COLOR00ffff,LAYER0;STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,12,0 ),COLOR007777,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,8,0 ),COLOR009999,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,6,0 ),COLOR00BBBB,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,4,0 ),COLOR00DDDD,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,2 ,0 ),COLOR00ffff,LAYER0; DRAWTEXTABS(5,5,'基本指标:MA5波段'),Color00FFff,LINETHICK3;BC:=(3*C+H+L)/5;MA5:EMA(MA(BC,5),5);PARTLINE(MA5,(MA5>REF(MA5,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYE R0;XL:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(L,XL))*0.95;IF AM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:MACD'),Color0000ff,LINETHICK4;DIFF:=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3);DEA:=EMA(DIFF,9);MACD:2*(DIFF-DEA),Color0598FF,LINETHICK0;;STICKLINE(MACD>0,E+MACD*2,E,12,0),Color0598FF;STICKLINE(MACD<0,E+MACD*2,E,12,0),ColorFF5500;END;IF AJ=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:KDJ'),Colorff00ff,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:(3*K-2*D),Color05FFFF,LINETHICK0;if(CROSS(K,D) AND BARSLAST(CROSS(D,K))<3,E*1.09,E),ColorFF9910 ; STICKLINE(K>D,E+(K-D)/50,E,12,0),Color0000FF;STICKLINE(K<D,E+(K-D)/50,E,12,0),Color00FF00;END;IF AC=1 THEN BEGINDRAWTEXTABS(200,5,'指标:CCI'),Color00ffff,LINETHICK4;TYP := (HIGH + LOW + CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Color05FF00,LINETHICK0;; STICKLINE(CCI>0,E+CCI/350,E,12,0),Color0077FF;STICKLINE(CCI<0,E+CCI/350,E,12,0),ColorFF9900;END;IF AR=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:RSI'),Color00ff00,LINETHICK4;LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,ColorFF05FF,LINE THICK0;CRSI:="RSI.RSI3#WEEK";金叉RSI:STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E,E*1.1,0.6,0),ColorFF 00FF;DRAWTEXT(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E*1.1,'金叉'),COLOR0000FF;STICKLINE(RSI>CRSI,E+(RSI-CRSI)/50,E,12,0),Color0000FF;STICKLINE(RSI<CRSI,E+(RSI-CRSI)/50,E,12,0),Color00FF00;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR1,13)-EMA(VAR1,73);SD:=EMA(SK,2);XG:=((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金叉RSI);STICKLINE(XG,E,E*1.15,0.6,0),COLOR00FFFF;DRAWTEXT(XG,E*1.15,'突破'),COLOR00FFBB;END;IF AD=1 THEN BEGIN{DMI新编}DRAWTEXTABS(250,5,'技术指标:DMI'),Color0598ff,LINETHICK4;N:=21;M:=6;M1:=20;TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LO W)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);PDI:= DMP*100/TR1;MDI:DMM*100/TR1,Color05FFFF,LINETHICK0;ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;ADXR:=EMA(ADX,M);ADMA:=EMA(ADX,M1);OMD:=(ADX-2*ADMA+ADXR)/2;STICKLINE( OMD>0,E,E+OMD/100,12,0),COLORRED;STICKLINE(OMD<0,E,E+OMD/100,12,0),COLORGREEN;END;IF DM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:DMA'),ColorFF55ff,LINETHICK4;DDD:=(MA(CLOSE,10)-MA(CLOSE,50));AMA:=MA(DDD,10);STICKLINE( DDD>AMA,E,E+(DDD-AMA),12,0),COLORFF22FF;STICKLINE(DDD<AMA,E,E+(DDD-AMA),12,0),COLOR99FF99;END;IF ZL=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:主力进出'),ColorFF55ff,LINETHICK4;jcs:=ZLSHORT;jcm:=ma(zlshort ,12);STICKLINE(jcs>jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLOR222299; STICKLINE(jcs<jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLORFFee00; END;。

(整理)大智慧指标公式.

(整理)大智慧指标公式.

REFLINE: 0, ,, , ;Var2:=1/WINNER(CLOSE);Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);STICKLINE(Var2>5,Var3<100,Var2,5,0),;Var4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Var5:=SMA(Var4,5,1);Var6:=SMA(Var5,9,1);STICKLINE(VOL AND Var6<18,0,V ar2*0.5,5,0),coloryellow;〖觅庄建仓〗:0,coloryellow;5>1/WINNER(CLOSE) AND Var6<18;控盘强弱Vur1:=VOL/CAPITAL;Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);Vur3:=2.5*MAX(Vur1,Vur2);Vur4:=DMA(CLOSE,Vur3);Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;Vur6:=EMA(Vur5,2);Vur7:=EMA(Vur5,2);Vur8:=EMA(Vur7,3);VurS:=EMA(Vur7,8);Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1); VurA:=2.5*MAX(Vur1,Vur9);VurB:=DMA(INDEXC,VurA);VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38;VurD:=EMA(VurC,2);VurE:=EMA(VurC,2);D强:STICKLINE(VurD>0,0,VurD,6.5,1),colorB210E4;D弱:STICKLINE(VurD<0,0,VurD,6.5,1),colorFFA6A6;极强:STICKLINE(Vur5>0,0,Vur5,6.5,0),COLORYELLOW;强势:STICKLINE(Vur6>0,0,Vur6,6.5,0),COLORRED;极弱:STICKLINE(Vur5<0,0,Vur5,6.5,0),color10D010;弱势:STICKLINE(Vur6<0,0,Vur6,6.5,0),colorE4E410;DX:VurE,color1088FF,LINETHICK2;界:VurS,color6CBC10,LINETHICK2;控:Vur8,colorFF10FF;指:Vur7,color10E4E4;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;庄秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;庄秘进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V A:=EMA(V9,3);VB:=(V9-VA)/2;大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; ee:=cc<3 and dd<0.5 and OPEN<>LOW;a1:=DYNAINFO(6);a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));a3:=VOL/WINNER(LOW);a4:=REF(HHV(CLOSE,120),1);a5:=REF(LLV(CLOSE,120),1);a6:=100*(CLOSE-a5)/(a4-a5);a7:=a2>0 or a2=1;a8:=a7 and a3/REF(a3,3)>=3 and a6<80;a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);a10:=a8 and a9;a11:=IF(FILTER(a8,3),5,0);a12:=IF(FILTER(a10,3) or ee,10,0);筹码进场日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;筹码加仓日:IF(a12,88,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;STICKLINE(a11,0,5,5,0),colorff7700;STICKLINE(a11,0,5,4.5,0),colorff8800;STICKLINE(a11,0,5,4,0),colorff9900;STICKLINE(a11,0,5,3.5,0),colorffaa00;STICKLINE(a11,0,5,3,0),colorffbb00;STICKLINE(a11,0,5,2.5,0),colorffcc00;STICKLINE(a11,0,5,2,0),colorffdd00;STICKLINE(a11,0,5,1,0),colorffee00;STICKLINE(a12,0,15,4.5,0),color102099;STICKLINE(a12,0,15,4,0),color1020aa;STICKLINE(a12,0,15,3.5,0),color1020bb;STICKLINE(a12,0,15,3,0),color1020cc;STICKLINE(a12,0,15,2.5,0),color1020dd;STICKLINE(a12,0,15,2,0),color1020ee;STICKLINE(a12,0,15,1,0),color1020ff;DRAWTEXT(a11,8,'筹码进场');DRAWTEXT(a12,17,'筹码加仓');Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;Var3:=EMA(Var2,13);Var4:=LLV(LOW,34);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力进场:IF(Var5>REF(Var5,1),V AR5,0),COLORred,LINETHICK2;STICKLINE(Var5>REF(Var5,1),0,V ar5,7,0 ),COLORRED;洗盘:IF(V AR5<REF(VAR5,1),V AR5,0),COLORGREEN,LINETHICK2;STICKLINE(V AR5<REF(V AR5,1),0,V AR5,2,1),COLORGREEN;Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(V ar8 AND COUNT(Var8,30)=1,40,'★有筹码进场');天使报佳音vor03:=EMA(c,3);vor07:=EMA(c,7);vor13:=EMA(c,13);vor21:=EMA(c,21);vor34:=EMA(c,34);vor55:=EMA(c,55);y03:EMA(vor03,3),linethick1,colorred;y07:EMA(vor07,7),linethick1,COLOR0099FF;y13:EMA(vor13,13),linethick1,coloryellow;y21:EMA(vor21,21),linethick1,colorblue;y34:EMA(vor34,34),linethick1,colorcf88ee;y55:EMA(vor55,55),linethick1,colorwhite;vor023:=hhv(y03,3)/hhv(h,3);vor027:=hhv(y07,7)/hhv(h,7);vor213:=hhv(y13,13)/hhv(h,13);vor221:=hhv(y21,21)/hhv(h,21);vor234:=hhv(y34,34)/hhv(h,34);vor255:=hhv(y55,55)/hhv(h,55);vor33:=c*vor023;vor37:=c*vor027;vor313:=c*vor213;vor321:=c*vor221;vor334:=c*vor234;vor355:=c*vor255;vor43:=longcross(vor023,y03+0.1,10);vor47:=longcross(vor027,y07+0.1,10);vor413:=longcross(vor313,y13+0.1,10);vor421:=longcross(vor321,y21+0.1,10);vor434:=longcross(vor334,y21+0.1,10);vor455:=longcross(vor355,y55+0.1,10);DRAWICON(vor413,HIGH*1.235,1);DRAWICON(vor421,HIGH*1.235,1);DRAWICON(vor434,HIGH*1.35,1);DRAWICON(vor455,HIGH*1.46,1);stickline(vor43,if(c>0,llv(y03,22),y03),if(c>0,hhv(y03,22),y03),6,0),colorred;stickline(vor47,if(c>0,llv(y07,33),y07),if(c>0,hhv(y07,33),y07),6,0),COLOR0099FF;stickline(vor413,if(c>0,llv(y13,44),y13),if(c>0,hhv(y13,44),y13),6,0),coloryellow;stickline(vor421,if(c>0,llv(y21,55),y21),if(c>0,hhv(y21,55),y21),6,0),colorblue;stickline(vor434,if(c>0,llv(y34,66),y34),if(c>0,hhv(y34,66),y21),6,0),colorcf88ee;stickline(vor455,if(c>0,llv(y55,88),y55),if(c>0,hhv(y55,88),y21),6,0),colorwhite;资金流量PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,1,0),color808080;STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,1,0),color808080;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流量:LLJX,LINETHICK0,color0000FF;STICKLINE((资金流量> 0),资金流量,0,7,0),color0000FF;STICKLINE((资金流量< 0),资金流量,0,7,0),colorFF0000;流量基线:GJJ,color00FFFF;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量增幅:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ)),LINETHICK0;力度:(HSL / 1000),LINETHICK0;周流量:SUM(LLJX,5),LINETHICK0;BB:=REF(周流量,1);ZQZJJ:=(((周流量- BB) / BB) * 100);周增幅:IF(((周流量> 0) AND (BB < 0)),ABS(ZQZJJ),IF((((周流量< 0) AND (BB < 0)) AND (周流量< BB)),(0 - ZQZJJ),ZQZJJ)),LINETHICK0;0,color808080;庄见愁获利线:EMA(WINNER(C)*100,3),colorwhite;庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;收:=winner(C)*100;开:=winner(O)*100;博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;stickline(收>=REF(收,1),0,博弈K线长,4,0),colorred;stickline(收<=REF(收,1),0,博弈K线长,4,0),color00ff00;{庄筹线:EMA(WINNER(C)*70,5), colorred, linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen, linethick2;}5,colorwhite,pointdot;20,coloryellow,pointdot;40,colorffcc66,pointdot;60,colorff00ff,pointdot;cc:FILTER((CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorff00ff;DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;aa1:=cross(庄筹线,散筹线);DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,30,'决战诱空'),colorwhite;IF(bb,30,60 ),colorffcccc;135均线法则EMA13:EMA(C,13),COLORBLUE,LINETHICK2;EMA17:EMA(C,17),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORGREEN;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; {STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;{STICKLINE(FR,H,L,0.5,1),COLORWHITE;STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'*!'),COLOR00FF00;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,6,1),LINETHICK2,COLORFFC8FF;。

月线周线日线趋势 买卖线指标公式

月线周线日线趋势 买卖线指标公式

月线周线日线趋势买卖线指标公式
在股票交易中,趋势和买卖点是非常重要的指标。

月线、周线和日线是常用的三个时间周期,分别反映了不同的市场趋势。

买卖线指标是一种常用的技术指标,可以帮助我们判断股票的买卖时机。

下面介绍一下月线、周线、日线趋势和买卖线指标的公式。

月线趋势公式:
月线趋势指标是以月线为基础计算的指标,可以反映出股票的长期趋势。

月线趋势线的计算公式如下:
月线趋势线=(3个月收盘价之和)/3
周线趋势公式:
周线趋势指标是以周线为基础计算的指标,可以反映出股票的中期趋势。

周线趋势线的计算公式如下:
周线趋势线=(5个周收盘价之和)/5
日线趋势公式:
日线趋势指标是以日线为基础计算的指标,可以反映出股票的短期趋势。

日线趋势线的计算公式如下:
日线趋势线=(5个日收盘价之和)/5
买卖线指标公式:
买卖线指标是一种常用的技术指标,可以帮助我们判断股票的买卖时机。

买卖线指标的计算公式如下:
买卖线=(收盘价+最高价+最低价)/3
买卖线的作用是判断股票的走势,当买卖线向上穿过股票的趋势
线时,表示股票走势向上,可以考虑买入;当买卖线向下穿过股票的趋势线时,表示股票走势向下,可以考虑卖出。

总结:
月线、周线和日线趋势以及买卖线指标是股票交易中常用的技术指标,可以帮助我们判断股票的走势和买卖时机。

掌握这些指标的公式和使用方法,可以提高我们的股票交易技巧和收益。

大智慧主力吸筹指标公式

大智慧主力吸筹指标公式

大智慧主力吸筹指标公式价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25) ,COLOR55AAFF;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF;{蓝}STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C 0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00A AFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00C CFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00F FFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;。

【股票指标公式下载】-【大智慧】双龙戏珠(做空、多空趋势线、底线)

【股票指标公式下载】-【大智慧】双龙戏珠(做空、多空趋势线、底线)

【大智慧】双龙戏珠(做空、多空趋势线、底线)-指标公式源码子1:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;子2:=SMA(MAX(C-REF(C,1),0),10,1)/SMA(ABS(C-REF(C,1)),10,1)*100;水1:=EMA(子1,2);水2:=EMA(子2,2);水3:(水1-水2),COLORDBDB70;鲤鱼现身:IF(水3>REF(水3,1),水3,0);PARTLINE(水3,水3>REF(水3,1),RGB(255,0,255));水4:-水3,COLORB5A642;鲤鱼跃龙门:IF(水3>0,水4,0);鲤鱼跳龙门:IF(水3>0,水3,0);PARTLINE(水4,水3>0,RGB(255,255,0));PARTLINE(水3,水3>0,RGB(255,255,0));FILLRGN(水3,水4,水3>水4,RGB(240,50,50));FILLRGN(水3,水4,水3<水4,RGB(50,98,240));FILLRGN(鲤鱼跳龙门,鲤鱼跃龙门,鲤鱼跳龙门>鲤鱼跃龙门,RGB(235,0,230)); FILLRGN(鲤鱼跳龙门,鲤鱼跃龙门,鲤鱼跳龙门<鲤鱼跃龙门,RGB(0,104,154)); RSVP:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*20-20;KV:=SMA(RSVP,3,1);DV:=SMA(KV,3,1);JV:=3*KV-2*DV;ZDZK1:=EMA(JV,6);ZDZK2:=REF(ZDZK1,1); 猛龙出海:IF(ZDZK1>=ZDZK2,ZDZK1+2,ZDZK2),COLORYELLOW;做空:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;FILLRGN(做空,猛龙出海,做空>猛龙出海,RGB(0,255,250));FILLRGN(做空,猛龙出海,做空<猛龙出海,RGB(255,50,50));MTM:=C-REF(C,1);金龙起舞:30*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12),COLORWHITE; 多空趋势线:MA(金龙起舞,6),COLORYELLOW;FILLRGN(多空趋势线,金龙起舞,多空趋势线>金龙起舞,RGB(0,22,224)); FILLRGN(多空趋势线,金龙起舞,多空趋势线<金龙起舞,RGB(255,50,50));底线:0,COLORWHITE,POINTDOT,LINETHICK2;【大智慧】双龙戏珠(做空、多空趋势线、底线)-指标公式效果图(文档来源:若水财经社区)。

【指标公式源码下载】大智慧分时超赢指标分时图用(叠加大盘线、均线、超净、外盘、内盘、主增、主动率)

【指标公式源码下载】大智慧分时超赢指标分时图用(叠加大盘线、均线、超净、外盘、内盘、主增、主动率)

大智慧分时超赢指标分时图用(叠加大盘线、均线、超净、外盘、内盘、主增、主动率){分时超赢A-(分时主图.叠加超赢)}DRAWTEXTABS(0,5,'《夏卫东-自编》'),COLOR0000FF;{叠加大盘线}TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0); DPSZ:="399001$CLOSE"/HHV(STKINDI('399001','分超引用.昨收#DAY'),0);DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);POLYLINE(C>0,DPC),COLORFF00FF,LINETHICK2,LAYER0;{分时线}最新:C,COLORWHITE,LINETHICK2,PRECIS2,LAYER0;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);均线:IF(BB=0,MA(C,BARSCOUNT(C)),AA),COLOR00FFFF,LINETHICK2,PRECIS2;{分时超赢}ZLLR:=SUM((AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000),0);ZLLC:=SUM((AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000),0);主净:ZLLR-ZLLC,COLOR00FFFF,LINETHICK0,PRECIS2;TDLR:=SUM((AMOUNT*DYNAINFO(95)/10000),0);TDLC:=SUM((AMOUNT*DYNAINFO(98)/10000),0);超净:TDLR-TDLC,COLORFF00FF,LINETHICK0,PRECIS2;DDLR:=SUM((AMOUNT*DYNAINFO(94)/10000),0);DDLC:=SUM((AMOUNT*DYNAINFO(97)/10000),0);大净:DDLR-DDLC,COLOR00FF00,LINETHICK0,PRECIS2;ZDLR:=SUM((AMOUNT*DYNAINFO(93)/10000),0);ZDLC:=SUM((AMOUNT*DYNAINFO(96)/10000),0);中净:ZDLR-ZDLC,COLORB5B5B5,LINETHICK0,PRECIS2;XDLR:=IF(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93))>0,SUM(((AMO UNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000),0),0); XDLC:=IF(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96))>0,SUM(((AMO UNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000),0),0);散净:XDLR-XDLC,COLORFF9911,LINETHICK0;外盘:=sum(if(DYNAINFO(23)*close,DYNAINFO(23),0),0)*0.003906;内盘:=sum(if(DYNAINFO(22)*close,DYNAINFO(22),0),0)*0.003906;主动率:=(外盘-内盘)/(内盘+外盘)*100;单数比:=DYNAINFO(92)/DYNAINFO(91);通吃率:= ((DYNAINFO(95)+DYNAINFO(94))-(DYNAINFO(98)+DYNAINFO(97)))*VOL/VOL*100; DRAWTEXTABS(440,5,'主动率:'+ NUMTOSTRN(主动率,2)+' 单数比:'+ NUMTOSTRN(单数比,2)+' 通吃率:'+ NUMTOSTRN(通吃率,2)),COLOR00FFFF;DRAWTEXTABS(110,5,'上涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+' 家'),COLOR0000FF;DRAWTEXTABS(210,5,'下跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+' 家'),COLOR00FF00;DRAWTEXTABS(310,5,'平盘家数:'+NUMTOSTRN(DYNAINFO(71),0)+' 家'),COLORFFFFFF;{五分钟资金趋势}主5:=主净-REF(主净,5);超5:=超净-REF(超净,5);大5:=大净-REF(大净,5);中5:=中净-REF(中净,5);散5:=散净-REF(散净,5);DRAWTEXTABS(110,20,'五分钟各单净买(万):'),COLORFFFF00;DRAWTEXTABS(230,20,'主力:'+ NUMTOSTRN(主5,2)),COLOR00FFFF; DRAWTEXTABS(320,20,'超大:'+ NUMTOSTRN(超5,2)),COLORFF00FF; DRAWTEXTABS(410,20,'大户:'+ NUMTOSTRN(大5,2)),COLOR00FF00; DRAWTEXTABS(500,20,'中户:'+ NUMTOSTRN(中5,2)),COLORB5B5B5; DRAWTEXTABS(590,20,'散户:'+ NUMTOSTRN(散5,2)),COLORFF9911;{画柱图};最大值:=400/(MAX(ZLLR,ZLLC,TDLR,TDLC,DDLR,DDLC,ZDLR,ZDLC,XDLR,XDLC,散净,中净,大净,超净,主净));主力买:=600-(ZLLR*最大值);主力卖:=600-(ZLLC*最大值);超大买:=600-(TDLR*最大值);超大卖:=600-(TDLC*最大值);大户买:=600-(DDLR*最大值);大户卖:=600-(DDLC*最大值);中户买:=600-(ZDLR*最大值);中户卖:=600-(ZDLC*最大值);散户买:=600-(XDLR*最大值);散户卖:=600-(XDLC*最大值);散户净买:=600-(ABS(散净)*最大值);中户净买:=600-(ABS(中净)*最大值);大户净买:=600-(ABS(大净)*最大值);超大净买:=600-(ABS(超净)*最大值);主力净买:=600-(ABS(主净)*最大值);{各单增减比例显示}ZLB:=SUM((ORDERVOL(1,2)/CAPITAL*100),0);ZLS:=SUM((ORDERVOL(2,2)/CAPITAL*100),0);主增:=ZLB-ZLS;TDB:=SUM((ORDERVOL(1,3)/CAPITAL*100),0);TDS:=SUM((ORDERVOL(2,3)/CAPITAL*100),0);超增:=TDB-TDS;DDB:=SUM(((ORDERVOL(1,2)/CAPITAL*100-ORDERVOL(1,3)/CAPITAL*100)),0); DDS:=SUM(((ORDERVOL(2,2)/CAPITAL*100-ORDERVOL(2,3)/CAPITAL*100)),0);大增:=DDB-DDS;ZDB:=SUM(((ORDERVOL(1,1)/CAPITAL*100-ORDERVOL(1,2)/CAPITAL*100)),0); ZDS:=SUM(((ORDERVOL(2,1)/CAPITAL*100-ORDERVOL(2,2)/CAPITAL*100)),0);中增:=ZDB-ZDS;XDB:=SUM(((VOL-ORDERVOL(1,1))/CAPITAL*100),0);XDS:=SUM(((VOL-ORDERVOL(2,1))/CAPITAL*100),0);散增:=XDB-XDS;DRAWRECTREL(330,主力买,350,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(350,主力卖,370,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(370,主力净买,390,610,(IF((主净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(445,超大买,465,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(465,超大卖,485,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(485,超大净买,505,610,(IF((超净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(560,大户买,580,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(580,大户卖,600,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(600,大户净买,620,610,(IF((大净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(675,中户买,695,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(695,中户卖,715,610,RGB(0,200,0)),COLOR000000,LAYER5; DRAWRECTREL(715,中户净买,735,610,(IF((中净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL(790,散户买,810,610,RGB(200,0,0)),COLOR000000,LAYER5; DRAWRECTREL(810,散户卖,830,610,RGB(0,200,0)),COLOR000000,LAYER5;DRAWRECTREL(830,散户净买,850,610,(IF((散净>= 0),RGB(200,0,255),RGB(255,255,0)))),COLOR000000,LAYER5;DRAWRECTREL( 330,620,390,635,RGB(255,255,0));DRAWRECTREL( 445,620,505,635,RGB(255,0,255));DRAWRECTREL( 560,620,620,635,RGB(0,200,0));DRAWRECTREL( 675,620,735,635,RGB(200,200,200));DRAWRECTREL( 790,620,850,635,RGB(0,0,200));DRAWTEXTREL(310,530,'主'),ColorDDFFFF;DRAWTEXTREL(310,600,'力'),ColorDDFFFF;DRAWTEXTREL(425,530,'超'),ColorDDFFFF;DRAWTEXTREL(425,600,'大'),ColorDDFFFF;DRAWTEXTREL(540,530,'大'),ColorDDFFFF;DRAWTEXTREL(540,600,'户'),ColorDDFFFF;DRAWTEXTREL(655,530,'中'),ColorDDFFFF;DRAWTEXTREL(655,600,'户'),ColorDDFFFF;DRAWTEXTREL(770,530,'散'),ColorDDFFFF;DRAWTEXTREL(770,600,'户'),ColorDDFFFF;DRAWTEXTREL(290,660,'买入'),colorred;DRAWTEXTREL(290,720,'卖出'),Color00FF00;DRAWTEXTREL(290,780,'净买'),COLOR1199FF;DRAWTEXTREL(290,830,'增减'),COLORFFFF00;DRAWTEXTREL(330,660,NUMTOSTRN(ZLLR,2)),colorred;DRAWTEXTREL(330,720,NUMTOSTRN(ZLLC,2)),COLOR00FF00;DRAWTEXTREL(330,780,NUMTOSTRN(主净,2)),COLOR1199FF;DRAWTEXTREL(330,830,NUMTOSTRN(主增,2)+'%'),COLORFFFF00; DRAWTEXTREL(445,660,NUMTOSTRN(TDLR,2)),colorred;DRAWTEXTREL(445,720,NUMTOSTRN(TDLC,2)),COLOR00FF00;DRAWTEXTREL(445,780,NUMTOSTRN(超净,2)),COLOR1199FF;DRAWTEXTREL(445,830,NUMTOSTRN(超增,2)+'%'),COLORFFFF00; DRAWTEXTREL(560,660,NUMTOSTRN(DDLR,2)),colorred;DRAWTEXTREL(560,720,NUMTOSTRN(DDLC,2)),COLOR00FF00;DRAWTEXTREL(56 0,780,NUMTOSTRN(大净,2)),COLOR1199FF;DRAWTEXTREL(560,830,NUMTOSTRN(大增,2)+'%'),COLORFFFF00; DRAWTEXTREL(675,660,NUMTOSTRN(ZDLR,2)),colorred;DRAWTEXTREL(675,720,NUMTOSTRN(ZDLC,2)),COLOR00FF00;DRAWTEXTREL(675,780,NUMTOSTRN(中净,2)),COLOR1199FF;DRAWTEXTREL(675,830,NUMTOSTRN(中增,2)+'%'),COLORFFFF00; DRAWTEXTREL(790,660,NUMTOSTRN(XDLR,2)),colorred;DRAWTEXTREL(790,720,NUMTOSTRN(XDLC,2)),COLOR00FF00; DRAWTEXTREL(790,780,NUMTOSTRN(散净,2)),COLOR1199FF; DRAWTEXTREL(790,830,NUMTOSTRN(散增,2)+'%'),COLORFFFF00;。

大智慧买卖点公式指标公式

大智慧买卖点公式指标公式

大智慧买卖点公式指标公式VAR4:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;VAR5:=((CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)))*(100);VAR7:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);VAR8:=LLV(LOW,34);VARC:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - VAR8)/(HHV(HIGH,34) - VAR8))*(100),8);VARD:=EMA(VARC,5);VARE:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;VAR11:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);VAR12:=SMA(VAR11,3,1) + 100;VAR13:=VAR12 - SMA(VARE,9,1) + 100;VAR14:=ZIG(3,13);建仓:=IF((VARC > 17) and (VARC < 59) and (VARC - VARD >= 0),10,(-10));猎豹:=IF((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),10,45);丰收:=IF((VARC > 70) and (VARC - VARD >= 0),77,82);牛:=IF((VAR13 > 100),VAR13 - 100,0);顶:=IF((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),95,55);风:=IF((VARC - VARD > 0),VARC,VARD);STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick5,Color070084;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick4,Color0000A3;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick3,Color0000B7;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick2,Color0000CD;DRAWLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.08),(REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.05),0),Linethick1,Color077BF3;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),ColorFF5B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4.5,0),ColorFF6C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),ColorFF7B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),ColorFF9C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),ColorFFBE00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1,0),ColorFFCC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0.5,0),ColorCCCCCC;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),Color070084;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4.5,0),Color0000A3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),Color0000B7;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3.5,0),Color0000CD;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),Color0000E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color0754E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),Color076EF3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.5,0),Color077BF3;STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),Color0726CA;STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),Color0726CA;STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.5,0),ColorDE9100;STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.5,0),ColorDE9100;买:DRAWTEXT((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.05),'买'),colorred;卖:DRAWTEXT((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),LOW - (LOW)*(0.03),'卖'),Color66FF00;STICKLINE((REF(VAR14,2) < REF(VAR14,1)) and (VAR14 < REF(VAR14,1)),CLOSE,OPEN,5,0),Color66FF00;STICKLINE((REF(VAR14,2) > REF(VAR14,1)) and (VAR14 > REF(VAR14,1)),CLOSE,OPEN,5,0),coloryellow;。

股票-大智慧个股副图显示大盘K线图指标公式

股票-大智慧个股副图显示大盘K线图指标公式

大智慧个股副图显示大盘K线图指标公式DRAWGBKLAST(C0,STRIP(RGB(0,0,0),RGB(0,50,50),0)); DRAWTEXTABS(10,5,沙吾提制作),COLOR00FFFF,LINETHICK2; DPC:=INDEXC;DPO:=INDEXO;DPH:=INDEXH;DPL:=INDEXL;STICKLINE(DPCDPO,DPC,DPO,8,0),COLOR0000FF; STICKLINE(DPCDPO,DPH,DPL,0.5,0),COLOR0000FF; STICKLINE(DPCDPO,DPC,DPO,8,0),COLOR00FF00; STICKLINE(DPCDPO,DPH,DPL,0.5,0),COLOR00FF00;SH:=STKINDI(1A0001,1A0001SZ:=STKINDI(399001,399001IFSTRCMP(MARKETLABEL,SH)=0THENBEGINDRAWTEXTABS(200, 0,上证指数),LINETHICK5,Color6666FF;END;IFSTRCMP(MARKETLABEL,SZ)=0THENBEGINDRAWTEXTABS(200, 0,深圳成份指数),LINETHICK5,Color6666FF;END;上证MA1:=STKINDI(1A0001,MA.MA1深证MA1:=STKINDI(399001,MA.MA1上证MA2:=STKINDI(1A0001,MA.MA2深证MA2:=STKINDI(399001,MA.MA2上证MA3:=STKINDI(1A0001,MA.MA3深证MA3:=STKINDI(399001,MA.MA3上证MA4:=STKINDI(1A0001,MA.MA4深证MA4:=STKINDI(399001,MA.MA4上证MA5:=STKINDI(1A0001,MA.MA5深证MA5:=STKINDI(399001,MA.MA5上证MA6:=STKINDI(1A0001,MA.MA6深证MA6:=STKINDI(399001,MA.MA6大盘MA5:IF(STRCMP(MARKETLABEL,SH)=0,上证MA1,深证MA1),COLORFFFFFF;大盘MA10:IF(STRCMP(MARKETLABEL,SH)=0,上证MA2,深证MA2),COLOR00FFFF;大盘MA20:IF(STRCMP(MARKETLABEL,SH)=0,上证MA3,深证MA3),COLOR3333FF;大盘MA30:IF(STRCMP(MARKETLABEL,SH)=0,上证MA4,深证MA4),COLOR5399FF;大盘MA60:IF(STRCMP(MARKETLABEL,SH)=0,上证MA5,深证MA5),COLOR9900CC;大盘MA120:IF(STRCMP(MARKETLABEL,SH)=0,上证MA6,深证MA6),COLOR39FF00;DRAWTEXTABS(5,30,目前指数:+INDEXC+点),COLORFFFFFF;DRAWTEXTABS(5,50,昨日收盘:+REF(INDEXC,1)+点),COLORFFFFFF;DRAWTEXTABS(5,70,今日开盘:+INDEXO+点),COLORFFFFFF; DRAWTEXTABS(5,90,今日最高:+INDEXH+点),COLORFFFFFF; DRAWTEXTABS(5,110,今日最低:+INDEXL+点),COLORFFFFFF; DRAWTEXTABS(5,130,指数涨幅:+((INDEXC-REF(INDEXC,1))/INDEXC)*100+%),COLORFFFFFF;DRAWTEXTABS(5,150,上涨家数:+INDEXADV+家),COLORFF00FF;DRAWTEXTABS(5,170,走平家数:+INDEXDEC+家),COLOR00FFFF;DRAWTEXTABS(5,190,下跌家数:+INDEXDEC+家),COLOR39FF00;上证DIFF:=STKINDI(1A0001,MACD.DIFF深证DIFF:=STKINDI(399001,MACD.DIFF上证DEA:=STKINDI(1A0001,MACD.DEA深证DEA:=STKINDI(399001,MACD.DEA上证MACD:=STKINDI(1A0001,MACD.MACD深证MACD:=STKINDI(399001,MACD.MACD大盘DIFF:=IF(STRCMP(MARKETLABEL,SH)=0,上证DIFF,深证DIFF);大盘DEA:=IF(STRCMP(MARKETLABEL,SH)=0,上证DEA,深证DEA);大盘MACD:=IF(STRCMP(MARKETLABEL,SH)=0,上证MACD,深证MACD);DRAWTEXTABS(165,30,大盘DIFF:+大盘DIFF),COLORFFFFFF; DRAWTEXTABS(165,50,大盘DEA:+大盘DEA),COLOR00FFFF;DRAWTEXTABS(165,70,大盘MACD:+大盘MACD),COLORFF00FF;上证K:=STKINDI(1A0001,KDJ.K深证K:=STKINDI(399001,KDJ.K上证D:=STKINDI(1A0001,KDJ.D深证D:=STKINDI(399001,KDJ.D上证J:=STKINDI(1A0001,KDJ.J深证J:=STKINDI(399001,KDJ.J大盘K:=IF(STRCMP(MARKETLABEL,SH)=0,上证K,深证K);大盘D:=IF(STRCMP(MARKETLABEL,SH)=0,上证D,深证D);大盘J:=IF(STRCMP(MARKETLABEL,SH)=0,上证J,深证J); DRAWTEXTABS(165,90,大盘K:+大盘K),COLORFFFFFF;DRAWTEXTABS(165,110,大盘D:+大盘D),COLOR00FFFF;DRAWTEXTABS(165,130,大盘J:+大盘J),COLORFF00FF;DRAWTEXTABS(310,30,大盘5天均线:+大盘MA5),COLORFFFFFF,LINETHICK2;DRAWTEXTABS(310,50,大盘10天均线:+大盘MA10),COLOR00FFFF,LINETHICK2;DRAWTEXTABS(310,70,大盘20天均线:+大盘MA20),COLORFF00FF,LINETHICK2;DRAWTEXTABS(310,90,大盘30天均线:+大盘MA30),COLOR39FF00,LINETHICK2;DRAWTEXTABS(310,110,大盘60天均线:+大盘MA60),COLORFF3366,LINETHICK2;DRAWTEXTABS(310,130,大盘120天均线:+大盘MA120),COLORFFCC00,LINETHICK2;上证BIAS1:=STKINDI(1A0001,BIAS.BIAS1深证BIAS1:=STKINDI(399001,BIAS.BIAS1上证BIAS2:=STKINDI(1A0001,BIAS.BIAS2深证BIAS2:=STKINDI(399001,BIAS.BIAS2上证BIAS3:=STKINDI(1A0001,BIAS.BIAS3深证BIAS3:=STKINDI(399001,BIAS.BIAS3大盘BIAS1:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS1,深证BIAS1);大盘BIAS2:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS2,深证BIAS2);大盘BIAS3:=IF(STRCMP(MARKETLABEL,SH)=0,上证BIAS3,深证BIAS3);DRAWTEXTABS(165,150,大盘BIAS1:+大盘BIAS1),COLORFFFFFF;DRAWTEXTABS(165,170,大盘BIAS2:+大盘BIAS2),COLOR00FFFF;DRAWTEXTABS(165,190,大盘BIAS3:+大盘BIAS3),COLORFF00FF;大智慧个股副图显示大盘K线图指标公式实例图解:大智慧个股副图显示大盘K线图指标公式。

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0)); MA3:MA(CLOSE,3); MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,'↓'),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,'↑'),LINETHICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);{17}x9:FORCAST(c,9),Colorwhite,LINETHICK2;llx:=llv(FORCAST(c,9),2);PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3; MA21:MA(C,21),LINETHICK1,COLORE66878;VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;{预测当天最低价公式}A1:=REF(O,1);A2:=ABS((REF(C,1)-A1)/A1);A3:=ABS((REF(H,1)-A1)/A1);A4:=ABS((REF(L,1)-A1)/A1);B1:=ABS((A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;{预测当天收盘价公式}开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEXTABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";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;{一品资料说明}WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LOW,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXTABS(210,15,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;{43}DRAWGBK(c,'7' );Var3:=LLV(H,240);Var4:=100*(C-Var3)/Var3;Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;{Var7:=0;}Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VarA:=BARSCOUNT(C);VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA(C,21)-EMA(C,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A);Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);Var1D:=SQRT(SQRT(L*H*O*C));Var1E:=EMA(Var1D*0.97,3);Var1F:=(H+L+C)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));Var21:=CROSS(Var1E,L);买点1:=Var10;买点2:=(Var11+Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);DRAWTEXT(买点1>0,L-0.15,'B'),LINETHICK4,ALIGN1,colorred;{B} DRAWTEXT(买点2>0,L-0.25,{'B'}'买'),LINETHICK2,ALIGN1,COLOR00FFFF;{B} DRAWTEXT(卖点1>0,H+0.95,{'S'}'卖'),LINETHICK2,ALIGN1,COLOR33FF33;{S}闪: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(250,0,' ◇测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN,linethick1;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618; DRAWTEXTREL(15,0,'♂测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred,linethick1;{预测明日涨跌}C1:=REF(CLOSE,1);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));M11:=REF(M,1);N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));N1:=REF(N9,1);M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));H1:=IF(((M - N9) > 0),CLOSE,ET2);H2:=IF((A = 1),CLOSE,C2);H3:=IF(((M - N9) < 0),CLOSE,XB2);H4:=IF((A = 1),CLOSE,XB2);H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=(H5 > H6);H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10);T9:=((H5 < H6) AND (H5 < REF(H5,2)));T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));T12:=((H5 = REF(H5,1)) AND (H3 = H4));T13:=((H2 = REF(H2,1)) AND (H2 = H5));TW:=((((T9 OR T10) OR T11) OR T12) OR T13);PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT(((DISPSTATUS=2 AND W) AND (BBP < 96.5)),(H5 * 1.022),' 明日看涨'),MOVE1,colorFF00ff;DRAWTEXT(((DISPSTATUS=2 AND TW) AND (BBP > 1)),((H5 + H4) / 2),' 明日看跌'),MOVE0,colorffFF00;{支撑压力}gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD)))){,LINET HICK2,COLORFFFFFF};底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1;【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式效果图(文档来源:若水财经社区)。

大智慧选股公式大集合

大智慧选股公式大集合

大智慧选股公式大集合100;大智慧选股公式大集合简单的选股指标公式1,30 个交易日内,股价跌幅达到一半的股票xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是 5 天平均的 2 倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)ema(c,5);6,请编买入公式:1. 将BIAS 指标的参数设置为24 日,将KD 指标的参数设置为9;3;3。

2. BIAS 指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD 交叉同时,KD 指标中的 D 值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colo rff00ff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS31.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100; 9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20 日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11 ,一根大阳线, 至少有 5 个点以上,再连着出现二根振幅不大于 5 的十字星或是小K xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13, kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价 4 天中有两天在10 日线上count(c>ma(c,10),4)=2;15,选出10 天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count( 今涨停,n);16,一阳上穿10,20,30日线,量能是前一天 3 倍。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;var4:=SMA(RV,3,1);var5:=SMA(var4,3,1);KK:=EMA(SMA(RG,3,1),2);DD:=SMA(KK,3,1);DRAWTEXTREL(0,10,STKLABEL+' '+STKNAME+''),Color00DDFF;DRAWTEXT(cross(var4,var5) and cross(KK,DD),10,'共振点'),COLORyellow; VERTLINE(cross(var4,var5) and cross(KK,DD),1),COLOR00FFFF;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);W底选股:IF(SSS-SSB=2 ANDSSS>REF(SSS,1),-22,0),LINETHICK2,COLORffff00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORffff00; DRAWTEXT(A1,-8,'↖W底'),COLORyellow;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),-6,0) ,COLORyellow,LINETHICK3;IF((VARO7<10),-3,0) ,COLORblack,LINETHICK3;MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:=EMA(C,30);MA55:=EMA (C,55);YCX:=MA5>=REF(MA5,1);H1:=MAX(MAX(MA5,MA13),MA30);L1:=MIN(MIN(M A5,MA13),MA30);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,38,0),COLORFFFF00,LINETHICK3;IF(一阳穿三线,30,0),COLORblack,LINETHICK3;DRAWTEXT(一阳穿三线,42,'↙满'),COLORffff00;VAR2:=0.0001*AMOUNT;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:LLV(VAR2,100)=VAR2,STICK,COLORCC66FF,LINETHICK0; DRAWTEXT(百日地量,-8,'↖地'),COLORCC66FF;AA05:=MA(C,5);五日乖离率:=(c-AA05)/AA05*100;BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);加速度5:=ema((速度5-ref(速度5,1)),3);AA10:=MA(C,10);AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(c-AA30)/AA30*100;(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) andAA30>ref(AA30,1);(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) andAA30<ref(AA30,1);BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;强势狙击选股:filter(BB30>30 and BB10>45 and cross(BB05,60),10);加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1)and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30; 青云直上选股:if(filter(MR,10),30,0),COLORblue,LINETHICK3;if(filter(MR,10),20,0),COLORblack,LINETHICK3;DRAWTEXT(青云直上选股,36,'↙青'),COLORblue;QUAN:(CLOSE-DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,13))*10 0<=-28 AND(CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-1 9AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR (((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 ANDIF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA(( CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV( HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND(COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3);DRAWTEXT(QUAN,88,'弱市百发百中'),COLORffff00;弱市百发百中:IF(QUAN,88,0),COLORffff00,LINETHICK2;IF(QUAN,60,0),COLORffff00,LINETHICK2;LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;逃顶:CROSS(80,RSI)*68,LINETHICK3 ,colorgreen;CROSS(80,RSI)*50,LINETHICK3 ,colorblack;DRAWTEXT(CROSS(80,RSI),68,'顶 '),colorgreen;BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;底背离:IF(MN<-4 ,-11,0),COLORA67D3D,LINETHICK3;顶背离: IF((VAR26>90),110,100), COLORgreen,LINETHICK3;IF(MN<-4 ,-8,0),COLORblack,LINETHICK2;IF((VAR26>90),106,100), COLORblack,LINETHICK3;100,COLORffff00, LINETHICK1;{趋势买卖}V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);买入:STICKLINE(CROSS(价位线,0.3),50,5,2,0),COLOR00CCFF,LINETHICK1; STICKLINE(CROSS(价位线,0.3),30,5,2,0),COLORRED,LINETHICK1;卖出:STICKLINE(CROSS(3.5,价位线),60,100,2,0),COLORRED,LINETHICK1; STICKLINE(CROSS(3.5,价位线),80,100,2,0),COLORFF9900,LINETHICK1; DRAWTEXT(CROSS(价位线,0.3),45,'←B'),COLORFFAA66;DRAWTEXT(CROSS(3.5,价位线),75,'←S'),COLORFFFFCC;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)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离1:=MA(BIAS,3);乖离:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORAAAAFF,LINETHICK3; DRAWTEXT(乖离,32,'↙乖'),COLORAAAAFF;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,20,0),COLORblack,LINETHICK3; VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORff00ff,LINETHICK2;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);准备:( IF(((动向趋势线 > 88) AND (神偷线 <5.8)),68,0)),LINETHICK1,COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;K:=SMA(RSV,3,1);Var1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);买点选股:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05and (v/ma(v,5)>2 or c/ref(c,1)>0.035));IF(买点选股,28,0),COLORyellow,LINETHICK3;IF(买点选股,22,0),COLORblack,LINETHICK3;DRAWTEXT(买点选股,32,'↙买'),COLORyellow;RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);天之:=(AV + NEWVOL);低入:if(CROSS(天之,0),28,0),LINETHICK3,COLOR9370DB;if(CROSS(天之,0),22,0),LINETHICK3,COLORblack;DRAWTEXT(低入,32,'↙入'),COLOR9370DB;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORyellow, LINETHICK1;趋势线:MA(股价线,6),COLORred, LINETHICK3;地量:=VOL<LLV(VOL,30)*1.001;三十日地量:地量>0,LINETHICK2;地量1:=VOL<LLV(VOL,60)*1.001;六十日地量:地量1>0;地量2:=VOL<LLV(VOL,120)*1.001;一百二十日地量:地量2>0;即涨:CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45) AND CLOSE>SMA(CLOSE,60,5) AND SMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1) ANDSMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1 ),23,1),1),COLOrEBC79E,LINETHICK2;DRAWTEXT(即涨,1.3,'即涨'),COLOREBC79E;牛大底:"1A0001$CLOSE"/REF("1A0001$CLOSE",23)<0.78AND C/REF(C,120)<0.558 and ref(c,1)/l<1.5and ref(c,1)<>ref(o,1) and ref(c,2)<>ref(o,2) andref(c,3)<>ref(o,3),COLOr4080FF,LINETHICK2;DRAWTEXT(牛大底,1.8,'牛大底'),COLOR4080FF;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));突破:W4 AND COUNT(W4,5)=1,LINETHICK2,COLOR4D4DFF;DRAWTEXT(突破,-5,'突破'),COLORffff00;90,COLORGREEN, LINETHICK1;50,COLORwhite, LINETHICK1;【大智慧】趋势买卖(W底选股、一阳穿三线)-指标公式效果图(文档来源:若水财经社区)。

相关文档
最新文档