以下是绿进红出 趋势线、绿进红出撑压
d:=IF(ISNULL(SOLARTERM),1,2);
DRAWTEXT(d=2,CODETYPE, SOLARTERM);
多空:(MA(C,30)+MA(C,72))/2 ,LINETHICK1;
绿进红出 : EMA(CLOSE,17) ,LINETHICK2;
波动 : MA(CLOSE,5),colorwhite;
你 = MA(CLOSE,1);
老 = (LOW+HIGH+CLOSE)/3;
板 = MA(老,5);
好 = HHV(板,10);
清 = IF(HHV((你<好),10),100,90),colorgreen;
仓 = IF(HHV((你<好),10),99,95),colorwhite;
清仓 : CROSS(清,仓) AND 清 >仓 ,colorgreen;
顶 : CROSS(仓,清) AND 清< 仓,colorwhite;
STICKLINE(清仓,HIGH,CLOSE,8,0) ,colorgreen;
STICKLINE(顶,LOW,CLOSE,8,0),colorwhite;
DRAWICON(清仓,HIGH,\’SELL\’);
DRAWICON(顶,HIGH,\’SELL\’);
zsx1:=LLV(CLOSE,60);
zq:=BARSLAST(CLOSE=ZSx1);
gg:=HHV(CLOSE,zq);
IF(gg>REF(gg,1))
zj=(gg-REF(gg,1));
ELSE zj:=0;
IF(zq=0)
高压:zsx1,colorgray,LINETHICK1;
ELSE 高压:REF(高压,1)+zj,LINETHICK1;
VAR2:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);
VAR3:=EMA(VAR2,3);
VAR4:=EMA(VAR3,3);
VAR5:=EMA(VAR4,3);
VAR6:=EMA(VAR5,3);
VA7:=EMA(VAR6,3);
VAR7:=EMA(VA7,3);
VA8:=EMA(VAR7,3);
VAR8:=EMA(VA8,3);
VAR9:=EMA(VAR8,3);
VARA:=BARSLAST(CROSS(CLOSE,VAR9));
VARB:=BARSLAST(CROSS(VAR9,CLOSE));
支撑:=IF(CLOSE>VAR9 AND CLOSE>REF(CLOSE,VARA),REF(CLOSE,VARA),REF(CLOSE,VARA)),colorligreen;
压力:=IF(CLOSE<VAR9 AND CLOSE<REF(CLOSE,VARB),REF(CLOSE,VARB),REF(CLOSE,VARB)),colorlired;
底 : CROSS(高压,多空)AND 支撑 压力 ,colorligreen;
DRAWTEXT(底,HIGH,\’↙底\’) ,colorligreen;
DRAWICON(底,HIGH,\’buy\’);
STICKLINE(底,CLOSE,O,6,0) ,colorgreen;
买 : CROSS(绿进红出,支撑) AND 支撑 多空 ,colormagenta;
STICKLINE(买,CLOSE,O,8,0) ,colormagenta;
DRAWTEXT(买,HIGH,\’↙买\’) ,colormagenta;
DRAWTEXT(ISLASTBAR,高压,\’ ̄╦高压\’),colorgray;
DRAWTEXT(ISLASTBAR,压力,\’ ̄╬压力\’),colorlired;
DRAWTEXT(ISLASTBAR,支撑,\’ ̄╩支撑\’),colorligreen;
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}