山本情感课堂
2024-11-15 09:19:22
最佳回答
csar:=sar(10,2,20)colorred; 持币:=if(csar>=h,csar,0),linethick6,colorgreen{持币}; 持股:=if(csar<=l,csar,0),circledot,colorred{持股};涅磐:ema(slope(c,21)*20+c,42),linethick6,colorred;{股价在上持,在下空仓} 宝瓶:ema(c,2.5),colorgreen,linethick1; 般若:ema(c,5),colorgreen,linethick6;{红持股绿持币黄观望} 菩提:=xma(h,20)colorlired,linethick6;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底}; 开悟:if(般若>=ref(般若,1),般若,draw**),linethick9,colorred;{持股前提} 闭关:if(般若<=ref(般若,1),般若,draw**)colorred;{持币前提} {drawicon(cross(csar,h) and l<涅磐 and 涅磐>菩提 ,high*1.02,6);{趋势顶} 般:xma(close,7),colorbrown; 若:mema(close,3),colorliblue;drawicon(cross(l,csar) and 开悟>0 and h<菩提 and 持股>0 and h>涅磐,(low * 0.93),5);{趋势底}drawicon(longcross(般,若,0.25) ,l*0.958,1),colorred; 使用方法指标选股般大于若 20210311