网友求助:
公式源码:
白色: SMA(HIGH,21,2)*1.05,COLORWHITE;
黄色: SMA(LOW,21,2)*0.95,COLORYELLOW;
粉色: SMA(LOW,5,1),COLORMAGENTA;
绿色: SMA(CLOSE,2,1),COLORGREEN;
波段买入:IF(CROSS(绿色,粉色),白色*1.05,粉色),,COLORMAGENTA;
领头羊:IF(CROSS(绿色,白色),白色*1.10,黄色),,COLORYELLOW;
要求:股价上穿绿色,白色线时且成效放出倍量
解答如下:
白色:=SMA(HIGH,21,2)*1.05;
绿色:=SMA(CLOSE,2,1);
CROSS(C,白色) AND CROSS(C,绿色) AND V/REF(V,1)>2;