找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 11327|回复: 292

精准拐点 通用公式

 火... [复制链接]
发表于 2016-10-7 12:48 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
{精准拐点}
AA:=(C+L+H)/3;
BB:=REF(CLOSE,AA);
CC:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100-50;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
DRAWICON(LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3),MACD*1.4,8),ALIGN1;
DRAWICON(HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3),MACD*1.2,7),ALIGN1;
卖LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3));
X3HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3));
{以下为显示}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0),COLORDD7700,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),linethick3,COLORDD9900;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0,0),linethick3,COLORDDCC00;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,2,0),COLOR007700,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0),COLOR009900,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0,0),COLOR00DD00,linethick3;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,2,0),linethick3,COLOR0077EE;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,1,0),linethick3,COLOR0099EE;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0,0),linethick3,COLOR00DDEE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,2,0),linethick3,COLOR000099;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),linethick3,COLOR0000EE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0,0),linethick3,COLORAA33EE;
线:CC,COLOR0099CC;
蓝天:=STICKLINE(C,40,40,0.5,0.5);
绿地:=STICKLINE(C,-40,-40,0.5,0.5);
流通〖亿〗:CAPITAL/1000000,LINETHICK0;
涨家数:INDEXADV,COLOR0000EE,linethick0;
跌家数:INDEXDEC,COLOR00EE00,linethick0;
大盘成交:INDEXV,COLOR00EEEE,linethick0;
XG:=V>=2*REF(V,1);{量坑拐点}
XG0:=V>=3*REF(V,1);
DRAWICON(XG,-40,11),align1;
DRAWICON(XG0,-40,12),align1;
X1:V>=2*REF(V,1);
X2:V>=3*REF(V,1);
发表于 2017-4-15 14:22 | 显示全部楼层
N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=1341231),1,0);
M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,8),CoLor008000;
M13:EMA(M8,13),CoLor0000FF;
M62:EMA(M8,55),CoLorF0F000;
VAR1:=EMA(M13,62);
M81:EMA(M62,81),CoLor00FFFF;
M144:EMA(VAR1,144),Linethick2,CoLor0000FF;
M250:EMA(VAR1,250),POINTDOT,Linethick2,CoLorF00FF0;
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),CoLorFF0000;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000;
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);
VAR9:=CROSS(N2,VAR8);
VARA:=(FILTER(VAR9,4))*(T1);
DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF;
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;
回复

使用道具 举报

发表于 2016-10-9 11:36 | 显示全部楼层
{倍量过左峰XG} {自设参数:TS(3,100,10),前高虚实(0,1,0)} 过滤条件:= NAMELIKE('ST') OR NAMELIKE('*')           {OR CODELIKE('3')}{创业板}            OR BARSCOUNT(V)<=100{次新}             OR DYNAINFO(9)=0{停牌}             OR CAPITAL>1000000*5{<5亿小盘}; 倍量:=VOL/REF(VOL,1)>=1.9; HC:=IF(前高虚实=0,H,MAX(C,O)); TS1:=TS;{波峰两边的周期} T1:=BARSLAST(FILTER(BACKSET(FILTER(REF(HC,TS1)=HHV(HC,2*TS1+1),TS1),TS1+1),TS1)); 左峰高:=REF(HC,T1); {178448.com--Wen98编制} 前凹:=REF(HHV(HC,T1),1)<=左峰高; BL:=1.03;{超过左峰顶3%} XG: CROSS(C,左峰高*BL) AND 前凹 AND 倍量 AND 过滤条件=0  ;
回复

使用道具 举报

发表于 2016-11-26 08:15 | 显示全部楼层

{精准拐点}
AA:=(C+L+H)/3;
BB:=REF(CLOSE,AA);
CC:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100-50;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
DRAWICON(LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3),MACD*1.4,8),ALIGN1;
DRAWICON(HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3),MACD*1.2,7),ALIGN1;
卖LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3));
X3HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3));
{以下为显示}
东升123,如果您要查看本帖隐藏内容请回复
回复

使用道具 举报

发表于 2016-10-7 13:38 | 显示全部楼层
精准拐点 通用公式
回复

使用道具 举报

发表于 2016-10-7 13:57 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

发表于 2016-10-7 14:02 | 显示全部楼层
感谢楼主分享
回复

使用道具 举报

发表于 2016-10-7 14:25 | 显示全部楼层
谢谢老师分享
回复

使用道具 举报

发表于 2016-10-7 14:26 | 显示全部楼层
谢谢老师分享
回复

使用道具 举报

发表于 2016-10-7 14:53 | 显示全部楼层
辛苦了,谢谢分享!
回复

使用道具 举报

发表于 2016-10-7 15:52 | 显示全部楼层
公式能通过么?
回复

使用道具 举报

发表于 2016-10-7 16:08 | 显示全部楼层
错误句 :  DRAWICON(LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3),MACD*1.4,8),ALIGN1  详细信息 : 未知字符串 ALIGN1  错误起始位置 : 303 ; 长度: 6
回复

使用道具 举报

发表于 2016-10-7 16:58 | 显示全部楼层
谢谢分享,学习看看
回复

使用道具 举报

发表于 2016-10-8 23:38 | 显示全部楼层
精准拐点 通用公式
回复

使用道具 举报

发表于 2016-10-9 08:52 | 显示全部楼层
精准拐点 通用公式
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-24 02:42 , Processed in 0.103430 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表