萝卜酱油 发表于 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));
{以下为显示}
**** Hidden Message *****

鸿鹄1688 发表于 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;

东升123 发表于 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,如果您要查看本帖隐藏内容请回复

Abner_Kuo 发表于 2016-10-7 13:38

精准拐点 通用公式

秋水月华 发表于 2016-10-7 13:44

:victory::victory:

CTU128 发表于 2016-10-7 13:57

感谢楼主分享

CTU128 发表于 2016-10-7 14:02

感谢楼主分享

吉祥草慢慢 发表于 2016-10-7 14:25

谢谢老师分享

wawaya 发表于 2016-10-7 14:26

谢谢老师分享

gh1224 发表于 2016-10-7 14:53

辛苦了,谢谢分享!

wen98 发表于 2016-10-7 15:52

公式能通过么?

rdkdy 发表于 2016-10-7 15:59

学习!!!!!!!!!

xiajuncool 发表于 2016-10-7 16:04

这个拐点????

xiajuncool 发表于 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

精准拐点 通用公式
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 精准拐点 通用公式