通达信看长炒短公式 这是组合力作
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
奇准买进无:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
趋势区:=IF((EVERY(DOWN>=REF(DOWN,1),1)),4,2)COLOR0000FF,LINETHICK3;
绝低买无:IF(((CROSS(趋势区,2.1))),15,0),STICK,COLORRED,LINETHICK3;
特准顶高卖无:IF(((CROSS(3.9,趋势区))),-10,0),STICK,COLORFF9150,LINETHICK3;
{是顶就跑}
BAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));
BAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
BAR3:=REF(CLOSE,1);
BAR4:=((SMA(MAX((CLOSE - BAR3),0),6,1) / SMA(ABS((CLOSE - BAR3)),6,1)) * 100);
是底买进:=(BAR1 AND BAR2),STICK,COLORYELLOW,LINETHICK2;
是顶就跑:=CROSS(80,BAR4),STICK,COLORGREEN,LINETHICK2;
STICKLINE(CROSS(80,BAR4),0,10,1,0)COLORGREEN;
STICKLINE(是底买进,0,2,1,0)COLORYELLOW;
DRAWICON(是底买进,2=10,23);
DRAWICON(是顶就跑,10,1);
- 上一篇公式:通达信半分MACD主图公式源码 说明
- 下一篇公式:通达信黑马决策线副图源码