六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 2537 人浏览分享

开启左侧

买卖点 瓜子改进

[复制链接]
2537 3
MA5:=MA(C,5);
红线在上持仓:MA5,COLORRED,LINETHICK1;
蓝线在上空仓:EMA(MA5,5),COLORBLUE;
MA20:MA(CLOSE,20),COLORYELLOW,LINETHICK1;


MA18:=MA(CLOSE,18);
MA10:=MA(C,10);
MA30:=MA(C,30);
VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR2:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
A:=(3*C+L+O+H)/6;
VAR4:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(VAR4,13);

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;

STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFF9900;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.5,0),COLORFFCC00;

STICKLINE(VAR1,C,(O+C)/2,3,0),COLORFF11FF;  
STICKLINE(VAR1,C,(O+C)/2,0.5,0),COLORFFDDFF;

STICKLINE(VAR2,C,(O+C)/2,3,0),COLOR999999;   
STICKLINE(VAR2,C,(O+C)/2,0.5,0),COLORFFBBFF;

STICKLINE(VAR3,O,(O+C)/2,3,0),COLOR00BB00;
STICKLINE(VAR3,O,(O+C)/2,0.5,0),COLOR00FF00;
卖:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORBLUE;
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)) ;
DRAWTEXT(FILTER(买=1,5),LOW-0.01,'买'),COLORRED;
加码:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加码,0) OR CROSS(CLOSE,CB)) AND 买=1,3),LOW-0.1,'加'),COLORFF00FF;
跟:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);
DRAWTEXT(跟,LOW*0.96,'跟'),COLORCC66FF;


VAR11:=LLV(LOW,120);
VAR22:=HHV(HIGH,120);
VAR33:=VAR22-VAR11;
H191: VAR33*0.191+VAR11,POINTDOT,COLORGREEN;
H382: VAR33*0.382+VAR11,POINTDOT,COLORORANGE;
H050: VAR33*0.5+VAR11,POINTDOT,COLORBLUE;
H618: VAR33*0.618+VAR11,POINTDOT,COLORBLACK;
H809: VAR33*0.809+VAR11,POINTDOT,COLORRED;
H81: VAR33+VAR11,POINTDOT,COLORRED;
H80: VAR11,POINTDOT,COLORRED;

举报 使用道具

回复

评论 3

黄三  资深股民  发表于 2018-8-25 18:01:36 | 显示全部楼层
谢谢分享,学习一下

举报 使用道具

回复 支持 反对
花开蝶自来  论坛游民  发表于 2018-1-13 10:57:19 | 显示全部楼层
有错误,通达信过不了,希望改进,谢谢!

举报 使用道具

回复 支持 反对
平面湖水  中级大户  发表于 2017-10-28 16:34:33 | 显示全部楼层
谢谢楼主分享!

举报 使用道具

回复 支持 反对

0

关注

11

粉丝

1

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-24 07:57 , Processed in 0.167466 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.