同花顺公式源码概况:
指标类别: 同花顺公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
公式解读:
同花顺k线变色公式M21:MA(C,21),colorwhite;
M55:MA(C,55),coloryellow;
MA72:MA(CLOSE,72),ColorFFFfff,linethick1;
MA98:MA(CLOSE,98),Color00Ffff,linethicK1;
MA250:MA(CLOSE,250),Color00ff00,linethick1;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
STICKLINE(x2x3 AND CEMA(x1,13),LOW,HIGH,0.1,1),colorred;
STICKLINE(x2x3 AND CEMA(x1,13),CLOSE,OPEN,5,1),colorred;
STICKLINE(x2x3 AND CEMA(x1,13),LOW,HIGH,0.1,1),colorffff54;
STICKLINE(x2x3 AND CEMA(x1,13),CLOSE,OPEN,5,0),colorffff54;
gr1:=BARSLAST(BETWEEN(bias.bias2(6,13,24),0,5));
gr2:=EMA(x1,13)EMA(x1,21) AND
EMA(x1,21)EMA(x1,34) AND EMA(x1,13)REF(EMA(x1,13),1);
gr3:=COUNT(bias.bias2(6,13,24)10 AND H=HHV(H,gr1),gr1);
gr4:=H=HHV(H,gr1);
gr5:=.macd(12,26,9)REF(macd.macd(12,26,9),1);
gr6:=gr2 AND gr3 AND gr4;
gr7:=gr2 AND gr3 AND gr4 AND gr5;
gr8:=gr6 AND gr7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*V/CAPITAL;
bb13:=ATAN(EMA(x1,13)-REF(EMA(x1,13),1))*3.1416*10;
ema8:=EMA(C,8);
DRAWTEXT(FILTER(bb131 AND EMA(x1,13)REF(EMA(x1,8),1),10),
ema8, #39;45度上升 #39;),colorwhite;
了结:EMA(EMA(EMA(HIGH,5),5),4)*1.15,colorgreen;
风险: EMA(EMA(EMA(HIGH,5),5),4)*1.1,colorblue;
回档: EMA(EMA(EMA(HIGH,5),5),4)*1.05,colorcyan;
平衡: EMA(EMA(EMA(HIGH,5),5),4),coloryellow;
反弹: EMA(EMA(EMA(HIGH,5),5),4)*0.95,colormagenta;
超跌: EMA(EMA(EMA(HIGH,5),5),4)*0.9,colorred;
HH:=HHV(HIGH,5);
LL:=LLV(LOW,5);
HH1:=BARSLAST((HH REF(HH,1)));
LL1:=BARSLAST((LL REF(LL,1)));
STICKLINE((HH1 LL1),CLOSE,OPEN,8,0),colorred;
STICKLINE((HH1 LL1),HIGH,LOW,0,0),colorred;
STICKLINE((HH1 LL1),CLOSE,OPEN,8,0),COLOR00FF00;
STICKLINE((HH1 LL1),HIGH,LOW,0,0),COLOR00FF00;