{公式名称: 天马主图
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
STICKLINE(VAR2>VAR3,VAR2,VAR3,5,0),COLORYELLOW;
STICKLINE(VAR2<VAR3,VAR2,VAR3,5,0),COLORBLUE;
{www.70822.com}
M2:EMA(CLOSE,8);
M3:EMA(M2,13);
M4:EMA(M2,55);
VAR4:=EMA(M3,55);
M5:EMA(M4,81),COLORRED,LINETHICK2;
VAR5:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=EMA((VAR6-VAR4)/(VAR5-VAR4)*100,7);
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND COUNT(VAR7>=VAR8,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,1),COLORRED;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND COUNT(VAR7>VAR8,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW,1),COLORRED;
VAR9:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<VAR9 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,2),COLORRED;
VAR10:=HHV(CLOSE,176)*0.93;
VAR11:=IF(VAR10>REF(VAR10,1),1,0);
VAR12:=BARSLAST(VAR11=1);
VAR13:=BARSLAST(VAR11=0);
VAR14:=IF(VAR12>50,2,0);
VAR15:=IF(REF(VAR12,1)>50 AND VAR13=1,1.2,0);
DRAWLINE(VAR15,LOW,REF(VAR15,1),REF(LOW,1),1),COLORRED;
DRAWTEXT(VAR15,LOW*0.98,3),COLORRED;
p201832513305311942.jpg
|