「翔博精选指标」绿顶卖红底买,公式简单,通达信副图,源码分享
2022-04-24原创 编 辑:翔博软件
绿顶卖,红底买
趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);
套利:=14;
阻力:=78.89;
CD:=CROSS(趋势,套利);
TD:=CROSS(阻力,趋势);
买入:FILTER(IF(CD,1,0),3)COLORRED;
卖出:FILTER(IF(TD,1,0),3)COLORGREEN;