长中短线机会 波段金叉买点【指标公式】(含选股)
第一部分 副图公式 手机/电脑RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE((K>=D),D,REF(D,1),4,0),COLOR0000FF;
STICKLINE((K
强弱线:50,COLOR00FF00,POINTDOT;
CAIH1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
CAIH2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
CAIH3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(CAIH1,3,1);
K2:=SMA(CAIH2,3+1,1);
K3:=SMA(CAIH3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
DRAWTEXT(CROSS(K1,D1),REF(D,1),'▲'),COLORGRAY;
DRAWTEXT(CROSS(K2,D2),REF(D,1),'◆'),COLORFF00FF;
DRAWTEXT(CROSS(K3,D3),REF(D,1),'★'),COLORLIRED;
▲短线金叉:IF(CROSS(K1,D1),1,0),COLORGRAY;
◆中线金叉:IF(CROSS(K2,D2),1,0),COLORFFAAFF;
★长线金叉:IF(CROSS(K3,D3),1,0),COLORLIRED;
第二部分 选股公式
{选股公式一:短线金叉}
CAIH1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
CAIH2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
CAIH3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(CAIH1,3,1);
K2:=SMA(CAIH2,3+1,1);
K3:=SMA(CAIH3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
▲短线金叉:CROSS(K1,D1);
{选股公式二:中线金叉}
CAIH1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
CAIH2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
CAIH3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(CAIH1,3,1);
K2:=SMA(CAIH2,3+1,1);
K3:=SMA(CAIH3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
▲中线金叉:CROSS(K2,D2);
{选股公式三:长线金叉}
CAIH1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
CAIH2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
CAIH3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(CAIH1,3,1);
K2:=SMA(CAIH2,3+1,1);
K3:=SMA(CAIH3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
▲长线金叉:CROSS(K3,D3);
无量天尊! 感谢楼主分享好资源 好贴不能沉!
页:
[1]