趋势买卖主图改成大智慧主图
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

VAR1:=(C+H+O+L)/4;卖:=MA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK2;买:=MA(VAR1,30)*(1-100/1000),COLORMAGENTA,LINETHICK2;卖出:REFX(卖,10),COLORGREEN,LINETHICK2;买入:REFX(买,15),COLOR0061ff,LINETHICK2;STICKLINE(卖出>LOW AND 卖出MIN(C,O) AND 卖出LOW AND 卖出LOW AND 买入MIN(C,O) AND 买入LOW AND 买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2;DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;已

解答:

 VAR1:=(C+H+O+L)/4;

卖:MA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK0;
买:MA(VAR1,30)*(1-100/1000),COLORMAGENTA,LINETHICK0;
卖出:"REFX@REFX"(卖,10),COLORGREEN,LINETHICK2;
买入:"REFX@REFX"(买,15),COLOR0061ff,LINETHICK2;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),8,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),8,0),COLORGREEN;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,8,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),8,0),COLORMAGENTA;
STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),8,0),COLORMAGENTA;
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入>HIGH,OPEN,CLOSE,8,0),COLORMAGENTA;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),LAYER0,ALIGN1,COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),LAYER0,ALIGN1,COLORGREEN;

选股票看什么指标最好 >股票指标网