{公式名称: 分时顶底
公式描述: 顶底 板块 趋势
参数数量: 1
参数1: 显示顶底线, 最小: 0, 最大: 1, 缺省: 1
}
X_1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
DRAWBAND(X_1,RGB(150,30,30),EMA(X_1,60),RGB(0,110,30));
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN<120,0.6,0.01),0.05,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN<120,0.6,0.01),0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN<120,0.55,0.01),0.9,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN<120,0.55,0.01),0.95,0,FGBLOCK),COLORYELLOW;
X_2:=IF(显示顶底线=1,HHV(HIGH,480),DRAWNULL);
X_3:=IF(显示顶底线=1,LLV(LOW,480),DRAWNULL);
{分析家公式网www.70822.com}
分时顶:IF(X_2=REF(X_2,2),X_2,DRAWNULL),DOTLINE,COLORMAGENTA;
分时底:IF(X_3=REF(X_3,2),X_3,DRAWNULL),DOTLINE,COLORGREEN;
CLOSE,COLORWHITE;
p20197201554992718.jpg
|