公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 同花顺公式 > 正文 → 正文

同花顺经典买卖公式

发布时间:2015/11/11 7:24:44  浏览次数:

同花顺经典买卖公式

 

1.指标>80 时,回档机率大;指标<20 时,反弹机率大;

2.K在20左右向上交叉D时,视为买进信号参考;

3.K在80左右向下交叉D时,视为卖出信号参考;

4.SKDJ波动于50左右的任何讯号,其作用不大。

 源码


Varv:=(2*C+H+L)/4;

Varu:=LLV(LOW,30);

VarA1:=HHV(HIGH,30);

B:=EMA((Varv-Varu)/(VarA1-Varu)*100,8);

B1:=EMA(B,5);

STICKLINE(B-B1>0,B,B1,8,1),colorred;

STICKLINE(B-B1<0,B,B1,8,1),Color00FF00;

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C<REF(O,1)AND C/O>=1.01,L-L*0.02,'★极品绝底初现'),linethick1;

DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),L,'★极品绝底'),colorblue,linethick1;

N:=5;

C0:=(H+L+C)/3;

a1:=HHV(C0,n);

a2:=LLV(C0,n);

a3:=a1-a2;

a4:=EMA((C0-a2)/a3,2)*100;

b1:=HHV(C0,4*n);

b2:=LLV(C0,4*n);

b3:=b1-b2;

b4:=EMA((C0-b2)/b3,2)*100;

C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;

C4:=EMA((C0-C2)/C3,2)*100;

j:a4,colorred,linethick2;

底部线:10,COLORFFFF00;

VARC:=(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))AND (REF(ZIG(3,6),3)<=REF(ZIG(3,6),4));

VARD:=(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))AND (REF(ZIG(3,6),3)>=REF(ZIG(3,6),4));

STICKLINE((VARC=1),(j),j+30,4,0),Color0000FF;

DRAWTEXT((VARC=1),(j-0),'买'),Color0000FF;

STICKLINE((VARD=1),(j-2),8,4,0),Color00FF00;

DRAWTEXT((VARD=1),(j+5),'卖'),Color00FF00;

VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var10:=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);

Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(Var11 AND COUNT(Var11,30)=1,50,'大资金活动'),linethick1,COLORff00ff;

STICKLINE(Var11 AND COUNT(Var11,30)=1,50,10,5,0),colorff00ff;

Var12:=(HIGH+LOW+CLOSE)/3;

Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));

Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));

Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);

Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);

Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

Var18:=100-ABS(Var17);

Var19:=IF(Var18<90,Var18,100);

Var1A:=IF(VarE>0,VarE,0);

Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;

Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;

DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,50,'大笔出货'),linethick1,COLORffcc66;

STICKLINE(Var1C AND COUNT(Var1C,30)=1,50,10,5,0),colorffcc66;

LC:=REF(CLOSE,1);

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);

HD:=(HIGH - REF(HIGH,1));

LD:=(REF(LOW,1) - LOW);

DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);

DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),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);

0,COLORFF00FF;

WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));

阶段底部:=(AV + NEWVOL);

STICKLINE((阶段底部 < 0),0,-10,0.8,1),LINETHICK6,coloryellow;

趋势线:=LLV(阶段底部,1),colorwhite,LINETHICK0;

STICKLINE(CROSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,colorred;

STICKLINE((趋势线 >230 ),100,80,0.3,1),LINETHICK6,colorgreen;

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

K:EMA(RSV,3);

D:MA(K,3);

STICKLINE(K>D , K,D ,2.5,0),colorred,LINETHICK2;

STICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2;

逃顶线:90,colorgreen,Linethick2;

中轴线: 50,colorred;

抄底线:10,colorwhite;

DRAWICON(CROSS(K,D) AND K<=50,12,1),colorred;

DRAWICON(CROSS(D,K) AND K>=80,80,2),colorgreen;

警戒:阶段底部 < 0,LINETHICK0,coloryellow;

出击:CROSS(阶段底部,0),LINETHICK0,colorred;
 

同花顺经典买卖公式

资源下载链接   资源大小:11KB
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识