牛熊趋势买卖主图公式 源码

[复制链接]
查看100 | 回复0 | 2021-8-19 17:50:30 | 显示全部楼层 |阅读模式

以下是牛熊趋势买卖主图公式 源码(无源码的请下载附件导入)

牛熊趋势买卖主图公式 源码

N:=20;M:=32;P1:=80;P2:=100;

VAR1:=(C+H+O+L)/4;

卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;

买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;

幅度:100*(卖出-买入)/买入,NODRAW;

MA1:=MA(VAR1,3);{www.88gs.com}

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;

STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;

STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;

DRAWTEXT_FIX(1=1,0,0,0,'更多精准指标参看www.guhai.com.cn'),COLORWHITE;

STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;

STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;

STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;

STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;

STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;

STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;

DRAWICON(CROSS(LOW,买入),LOW*0.95,7),COLORMAGENTA,LINETHICK2;

DRAWICON(CROSS(卖出,HIGH),HIGH*1.02,8),COLORGREEN;

AA1:=AMOUNT/V;

BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;
 

86366241.jpg

86366241.jpg

回复

使用道具 举报

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

本版积分规则