吴建新 发表于 2016-11-26 14:22

存盘公式凹间峰

顶:=MAX(C,O);底:=MIN(C,O);
峰:=顶=REFX(HHV(顶,5),2);
谷:=底=REFX(LLV(底,5),2);
超跌:=C/HHV(顶,20)<0.7;
刹车:=谷 AND 超跌;
DRAWTEXT(刹车,2*L-顶,'刹车'),COLORGREEN;
凹间峰:=COUNT(刹车,8)>0 AND 峰;
DRAWTEXT(凹间峰,2*H-底,'凹间峰'),COLORYELLOW;
凹间峰顶:=REF(顶,BARSLAST(凹间峰));
换档:=COUNT(凹间峰,8)>0 AND 谷;
DRAWTEXT(换档,2*L-H,'换档'),COLORRED;
上车:=COUNT(换档,8)>0 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))=1;
DRAWTEXT(上车,凹间峰顶,'上车'),COLORBLUE;
DRAWNUMBER(COUNT(凹间峰,2)=1 AND COUNT(凹间峰,1)=0,凹间峰顶,凹间峰顶),COLORBLUE;
DRAWTEXT(C<凹间峰顶 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))<1,凹间峰顶,'---'),COLORYELLOW;


lkqqjdwz 发表于 2017-4-2 16:42

{黑马精准线 参数顶底开关 0 1 0点位差0 1 0指定点 01000 0}
DRAWGBK(O>0,RGB(33,47,58),RGB(0,0,0),0,'02',0);
{标缺口}
LL:=REF(L,1);HH:=REF(H,1);上跳:=L>HH;下跳:=H<LL;
STICKLINE(L>REF(H,1),L,REF(H,1),3.1,-1),COLORRED;
STICKLINE(REF(L,1)>H,REF(L,1),H,3.1,-1),COLORGREEN;
{灰色}
STICKLINE(O>=C,H,L,0,0),COLOR909090;
STICKLINE(O>=C,C,O,3.1,0),COLOR606060;
STICKLINE(O>=C,C,O,2.1,0),COLOR707070;
STICKLINE(O>=C,C,O,1.2,0),COLOR808080;
STICKLINE(O>=C,C,O,0.2,0),COLOR909090;
STICKLINE(O<=C,H,L,0,0),COLOR666B6F;
STICKLINE(C>O,C,O,3.1,1),COLOR666B6F;
V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
{金黄色}
STICKLINE(V2V,H,L,0,0),COLORYELLOW;
STICKLINE(V2V,O,C,3.1,0),COLOR0033FF;
STICKLINE(V2V,O,C,2.1,0),COLOR0077FF;
STICKLINE(V2V,O,C,1.1,0),COLOR00BBFF;
STICKLINE(V2V,O,C,0.1,0),COLOR00FFFF;
{涨停粉}
ZT:=C/REF(C,1)>1.097;
ZT数:COUNT(ZT,BARSSINCE(ZT)),NODRAW;
{涨停红色}
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.5,C,O,3.1,0),COLOR0000CC;
STICKLINE(ZDF>9.5,C,O,2.1,0),COLOR0000DD;
STICKLINE(ZDF>9.5,C,O,1.2,0),COLOR0000EE;
STICKLINE(ZDF>9.5,C,O,0.2,0),COLOR0000FF;
STICKLINE(ZDF>9.5,H,L,0,0),COLOR0000FF;
{跌停绿色}
STICKLINE(ZDF<-9.9,O,C,3.1,0),COLOR66CC66;
STICKLINE(ZDF<-9.9,O,C,2.1,0),COLOR77DD77;
STICKLINE(ZDF<-9.9,O,C,1.2,0),COLOR88EE88;
STICKLINE(ZDF<-9.9,O,C,0.2,0),COLOR99FF99;
STICKLINE(ZDF<-9.5,H,L,0,0),COLOR99FF99;

均价:=AMO/VOL/100;
假阴真阳:=C<O AND C>=REF(MIN(C,O),1) AND 均价>REF(均价,1);
{蓝}
DT:=假阴真阳;
STICKLINE(DT,H,L,0,0),COLORFFAA00;
STICKLINE(DT,O,C,3,0),COLORFF3300;
STICKLINE(DT,O,C,2,0),COLORFF7700;
STICKLINE(DT,O,C,1,0),COLORFFAA00;
STICKLINE(DT,O,C,0.1,0),COLORFFFF00;

YX:=REF(O,BARSLAST(假阴真阳));
假阴实顶:YX,COLORFF7700,NODRAW;
STICKLINE(V,YX,YX,1,0),COLORFF7700;

L0:=点位差/100;
前极点精准线:IF(顶底开关=0,CONST(REF(L,指定点)),CONST(REF(H,指定点))),COLOR178448;
DRAWICON(ABS(L-前极点精准线)<=L0,前极点精准线*0.99,38);
DRAWICON(ABS(H-前极点精准线)<=L0,前极点精准线*1.01,39);
{H极点精准线:CONST(REF(H,指定点)),COLOR7777FF;
DRAWICON(ABS(H极点精准线-H)<=L0,H极点精准线*1.01,35);
DRAWICON(ABS(H极点精准线-L)<=L0,H极点精准线*0.99,34);}
{极点精准线:CONST(L),COLOR0077FF;
DRAWICON(ABS(L-极点精准线)<=L0,极点精准线*0.99,1);
DRAWICON(ABS(H-极点精准线)<=L0,极点精准线*1.01,2);
同向极点精准数:COUNT(ABS(L-极点精准线)<=L0,60)-1,COLOR0077FF,NODRAW;
异向极点精准数:COUNT(ABS(H-极点精准线)<=L0,60),COLOR0077FF,NODRAW;
XG:=同向极点精准数>0 AND 异向极点精准数>0;}
{DIFF:=10*(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
量缩价涨:=C<REF(O,1) AND V<REF(V,1) AND MACD>REF(MACD,1) AND C>REF(C,1) AND REF(C<O,1) AND C>O;
阴KDAY:=BARSLAST(量缩价涨)+1;
STICKLINE(V,REF(O,阴KDAY),REF(O,阴KDAY),3.5,0),COLORMAGENTA;
DRAWICON(CROSS(C,REF(O,阴KDAY)),L,1);}

DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK);

醉亨人生 发表于 2019-6-3 11:45

存盘公式凹间峰   [复制链接]
吴建新
明灯初三

Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10


威望11965 学分9844 预报涨停203 支
发消息       
电梯直达
跳转到指定楼层 1楼
发表于 2016-11-26 14:22 | 只看该作者 回帖奖励
顶:=MAX(C,O);底:=MIN(C,O);
峰:=顶=REFX(HHV(顶,5),2);
谷:=底=REFX(LLV(底,5),2);
超跌:=C/HHV(顶,20)<0.7;
刹车:=谷 AND 超跌;
DRAWTEXT(刹车,2*L-顶,'刹车'),COLORGREEN;
凹间峰:=COUNT(刹车,8)>0 AND 峰;
DRAWTEXT(凹间峰,2*H-底,'凹间峰'),COLORYELLOW;
凹间峰顶:=REF(顶,BARSLAST(凹间峰));
换档:=COUNT(凹间峰,8)>0 AND 谷;
DRAWTEXT(换档,2*L-H,'换档'),COLORRED;
上车:=COUNT(换档,8)>0 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))=1;
DRAWTEXT(上车,凹间峰顶,'上车'),COLORBLUE;
DRAWNUMBER(COUNT(凹间峰,2)=1 AND COUNT(凹间峰,1)=0,凹间峰顶,凹间峰顶),COLORBLUE;
DRAWTEXT(C<凹间峰顶 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))<1,凹间峰顶,'---'),COLORYELLOW;

醉亨人生 发表于 2019-5-29 13:34

存盘公式凹间峰   [复制链接]
吴建新
明灯初三

Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10Rank: 10


威望11965 学分9844 预报涨停203 支
发消息       
电梯直达
跳转到指定楼层 1楼
发表于 2016-11-26 14:22 | 只看该作者 回帖奖励
顶:=MAX(C,O);底:=MIN(C,O);
峰:=顶=REFX(HHV(顶,5),2);
谷:=底=REFX(LLV(底,5),2);
超跌:=C/HHV(顶,20)<0.7;
刹车:=谷 AND 超跌;
DRAWTEXT(刹车,2*L-顶,'刹车'),COLORGREEN;
凹间峰:=COUNT(刹车,8)>0 AND 峰;
DRAWTEXT(凹间峰,2*H-底,'凹间峰'),COLORYELLOW;
凹间峰顶:=REF(顶,BARSLAST(凹间峰));
换档:=COUNT(凹间峰,8)>0 AND 谷;
DRAWTEXT(换档,2*L-H,'换档'),COLORRED;
上车:=COUNT(换档,8)>0 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))=1;
DRAWTEXT(上车,凹间峰顶,'上车'),COLORBLUE;
DRAWNUMBER(COUNT(凹间峰,2)=1 AND COUNT(凹间峰,1)=0,凹间峰顶,凹间峰顶),COLORBLUE;
DRAWTEXT(C<凹间峰顶 AND COUNT(C>凹间峰顶,BARSLAST(凹间峰))<1,凹间峰顶,'---'),COLORYELLOW;

13975918709 发表于 2016-11-26 15:01

谢谢谢楼主分享

阿育阿育 发表于 2016-11-26 15:07

谢谢分享,努力学习。

虑心 发表于 2016-11-26 15:14

谢谢楼主分享

18679515135 发表于 2016-11-26 15:34

存盘公式分时主图

咖啡豆80 发表于 2016-11-26 15:39

谢谢分享,好好学习。

hongker 发表于 2016-11-26 16:07

存盘公式量2

wang4461325 发表于 2016-11-26 16:11


谢谢分享,好好学习

吾道问道 发表于 2016-11-26 16:29

谢谢分享,好好学习,天天向上。

有阳高温 发表于 2016-11-26 16:42

:handshake

hongker 发表于 2016-11-26 16:45

谢谢楼主分享

13975918709 发表于 2016-11-26 17:03

谢谢谢楼主分享

云中山 发表于 2016-11-26 18:07

感谢分享!

八分贝 发表于 2016-11-26 23:09

发表于 2016-11-26 22:22 | 只看该作者 回帖奖励 A:=V=LLV(V,5); 本帖隐藏的内容倍量:=(V/REF(V,1)>=1.9 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.9); XG:=REF(EXIST(A,5),1) AND 倍量; STICKLINE(A,C,O,0.5,0),COLORFF8000; STICKLINE(XG,C,O,2,0),COLOR00FFFF;

风味酸牛奶 发表于 2016-11-26 23:15

谢谢楼主分享
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 存盘公式凹间峰