【自编】最简单的K线主图指标

 VARR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VARR2:=(REF(VARR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR3:=(REF(VARR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR4:=(REF(VARR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR5:=(REF(VARR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR6:=(REF(VARR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR7:=(REF(VARR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR8:=(REF(VARR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR9:=(REF(VARR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARRA:=(REF(VARR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARRB:=(REF(VARRA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARRC:=(REF(VARRB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 
红色持股:
STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,CLOSE,REF(CLOSE,1),3,1),COLOR000099;
STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,CLOSE,REF(CLOSE,1),2.3,1),COLOR0000CC;
STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,CLOSE,REF(CLOSE,1),0.8,0),COLOR0000FF;
{STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,CLOSE,REF(CLOSE,1),1,0),COLOR0000FF;}
STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,CLOSE,REF(CLOSE,1),0,0),COLOR0000FF;
STICKLINE(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,LOW,HIGH,0.1,0),COLOR0000FF;
VARRD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARRE:=(REF(VARRD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARRF:=(REF(VARRE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR10:=(REF(VARRF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR11:=(REF(VARR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR12:=(REF(VARR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR13:=(REF(VARR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR14:=(REF(VARR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR15:=(REF(VARR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR16:=(REF(VARR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARR17:=(REF(VARR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARR18:=(REF(VARR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
{}
青色观望:
STICKLINE(C<REF(C,1)  AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),3,1),COLORBLUE;
STICKLINE(C<REF(C,1)  AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),2.3,1),COLORBLUE;
STICKLINE(C<REF(C,1)  AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),0.8,0),COLORBLUE;
STICKLINE(C<REF(C,1)  AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),LOW,HIGH,0.1,0),COLORBLUE;
STICKLINE( C>=REF(C,1) AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),3,1),COLORBLUE;
STICKLINE(C>=REF(C,1) AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),2.3,1),COLORBLUE;
STICKLINE(C>=REF(C,1) AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),CLOSE,REF(CLOSE,1),0.8,0),COLORRED;
STICKLINE(C>=REF(C,1) AND (VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18),LOW,HIGH,0.1,0),COLORRED;
VARR19:=((REF(VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18,1)) AND VARR1);
 
黄s短买:
STICKLINE(VARR19,REF(CLOSE,1),REF(CLOSE,2),3,1),COLOR669966;
STICKLINE(VARR19,REF(CLOSE,1),REF(CLOSE,2),2.3,1),COLOR66CC33;
STICKLINE(VARR19,REF(CLOSE,1),REF(CLOSE,2),0.8,0),COLORYELLOW;
VARR1A:=((REF(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,1)) AND VARRD);
 
品红离场:
STICKLINE(VARR1A,REF(CLOSE,1),REF(CLOSE,2),3,1),COLORFF99CC;
STICKLINE(VARR1A,REF(CLOSE,1),REF(CLOSE,2),2.3,1),COLORFF99CC;
STICKLINE(VARR1A,REF(CLOSE,1),REF(CLOSE,2),0.8,0),COLORFF99CC;
DRAWTEXT(VARR19,MIN(REF(L,1),L),'短买'),COLOR33FFCC;
DRAWTEXT(VARR1A,MAX(REF(H,1),H),'离场'),COLORRED;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图