同花顺海洋状态中线抄底副图指标 源码介绍
同花顺海洋状态中线抄底副图指标 源码
XY_S1101:=((((2 * CLOSE) + HIGH) + LOW) / 4);
XY_S1102:=LLV(LOW,34);
XY_S1103:=HHV(HIGH,34);
波浪1:EMA((((XY_S1101 - XY_S1102) / (XY_S1103 - XY_S1102)) * 100),13),COLOR0000FF;
波浪2:EMA(((0.667 * REF(波浪1,1)) + (0.333 * 波浪1)),2),COLOR00FFFF;
海底:20,COLOR00FF00;
BB:50,COLOR808080;
水面:80,COLOR0000FF;
XY_SSY1300:=REF(CLOSE,1);
XY_SSY1302:=SMA(MAX((CLOSE - XY_SSY1300),0),6,1);
XY_SSY1303:=SMA(ABS((CLOSE - XY_SSY1300)),6,1);
XY_SDFX:=(((CLOSE - LLV(CLOSE,250)) / LLV(CLOSE,250)) * 100);
XY_SKFX:=(((HHV(CLOSE,250) - CLOSE) / CLOSE) * 100);
XY_SSY1301:=((XY_SSY1302 / XY_SSY1303) * 100);
白鲨鱼:IF((((REF(XY_SSY1301,1) > 80) AND (XY_SSY1301 < 80)) AND (XY_SKFX > XY_SDFX)),20,0),colorwhite;
STICKLINE((XY_SDFX > XY_SKFX),0,5,5,0),COLOR0000FF;
STICKLINE((XY_SDFX < XY_SKFX),0,5,5,0),COLOR00FF00;
gd48509