白色: 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(LOW,21,2)*0.95;
粉色:=SMA(LOW,5,1);
绿色:=SMA(CLOSE,2,1),;
波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);
虎虎:=IF(CROSS(绿色,白色),白色*1.10,黄色);
虎虎>黄色 OR 波段买入>粉色