红柱买指标同花顺副图源码分享

var20:=REF(LOW,1);

var30:=SMA(ABS(LOW-var20),3,1)/SMA(MAX(LOW-var20,0),3,1)*100;
var40:=EMA(IF(CLOSE*1.3,var30*10,var30/10),3);
var50:=LLV(LOW,30);
var60:=HHV(var40,30);
var70:=IF(MA(CLOSE,58),1,0);
var80:=EMA(IF(LOW<=var50,(var40+var60*2)/2,0),3)/618*var70;
var90:=IF(var80>100,100,var80);
庄来了别放过:STICKLINE(var90>-120,0,var90,6,1),colorred;
var4:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;
var5:=((CLOSE - LLV(LOW,60))/(HHV(HIGH,60) - LLV(LOW,60)))*(100);
var7:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);
var8:=LLV(LOW,34);
varc:=EMA(((((2)*(CLOSE) + HIGH + LOW)/(4) - var8)/(HHV(HIGH,34) - var8))*(100),8);
vard:=EMA(varc,5);
vare:=((HHV(HIGH,9) - CLOSE)/(HHV(HIGH,9) - LLV(LOW,9)))*(100) - 70;
var11:=SMA(((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100),3,1);
var12:=SMA(var11,3,1) + 100;
var13:=var12 - SMA(vare,9,1) + 100;
var14:=ZIG(3,13);
建仓:=IF((varc > 17) AND (varc < 59) AND (varc - vard >= 0),10,(-10));
猎豹:=IF((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),10,45);
丰收:=IF((varc > 70) AND (varc - vard >= 0),77,82);
牛:=IF((var13 > 100),var13 - 100,0);
顶:=IF((REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),95,55);
风:=IF((varc - vard > 0),varc,vard);
STICKLINE((REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),CLOSE,OPEN,5,0),color66ff00;
STICKLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),CLOSE,OPEN,5,0),coloryellow;
DRAWLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.08),(REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.05),0),linethick5,color070084;
DRAWLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.08),(REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.05),0),linethick4,color0000a3;
DRAWLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.08),(REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.05),0),linethick3,color0000b7;
DRAWLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.08),(REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.05),0),linethick2,color0000cd;
DRAWLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.08),(REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.05),0),linethick1,color077bf3;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorff5b00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4.5,0),colorff6c00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),colorff7b00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorff9c00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),colorffbe00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1,0),colorffcc00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,0.5,0),colorcccccc;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4.5,0),color0000a3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color0000b7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3.5,0),color0000cd;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),color0000e9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color0754e9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color076ef3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,0.5,0),color077bf3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),color0726ca;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),color0726ca;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.5,0),colorde9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.5,0),colorde9100;
买:DRAWTEXT((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),LOW - (LOW)*(0.05),'买'),colorred;
卖:DRAWTEXT((REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),LOW - (LOW)*(0.03),'卖'),color66ff00;
STICKLINE((REF(var14,2) < REF(var14,1)) AND (var14 < REF(var14,1)),CLOSE,OPEN,5,0),color66ff00;
STICKLINE((REF(var14,2) > REF(var14,1)) AND (var14 > REF(var14,1)),CLOSE,OPEN,5,0),coloryellow;







未来函数检测结果如下:
该公式包含未来函数:ZIG
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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