副图公式源码支持 手机/电脑
GUA1:=3;
GUA2:=IF(YEAR>=2050 AND MONTH>=1,0,1);
GUA3:=4*SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1),3.2,1)*GUA2;
GUA4:=IF(GUA3<=8,25,0);
GUA5:=IF(CROSS(GUA3,10),80,0);
试买:GUA4 AND C<REF(C,1),COLORRED,LINETHICK2;
加仓:GUA5 AND C/REF(C,1)<REF(C,2)/REF(C,1),COLORMAGENTA,LINETHICK2;
选股公式源码
{选股公式一:试买}
GUA1:=3;
GUA2:=IF(YEAR>=2050 AND MONTH>=1,0,1);
GUA3:=4*SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1),3.2,1)*GUA2;
GUA4:=IF(GUA3<=8,25,0);
GUA5:=IF(CROSS(GUA3,10),80,0);
试买:GUA4 AND C<REF(C,1),COLORRED,LINETHICK2;
{选股公式二:加仓}
GUA1:=3;
GUA2:=IF(YEAR>=2050 AND MONTH>=1,0,1);
GUA3:=4*SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,GUA1))/(HHV(HIGH,GUA1)-LLV(LOW,GUA1))*100,5,1),3.2,1)*GUA2;
GUA4:=IF(GUA3<=8,25,0);
GUA5:=IF(CROSS(GUA3,10),80,0);
加仓:GUA5 AND C/REF(C,1)<REF(C,2)/REF(C,1),COLORMAGENTA,LINETHICK2;
|