浓浓端午情, 粽子有缘人.源码,付图,选股.不带未来函数!
指标精致,可放在主图或作付图或与其它指标组合.大括号内是选股公式, 可与其它指标结合分析
STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0,0),COLOR4444FF;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),C,O,2.5,0),COLOR4444FF;
STICKLINE(C<O OR (C=O AND C<REF(C,1)),H,L,0,0),COLORB0B000;
STICKLINE(C<O OR (C=O AND C<REF(C,1)),C,O,2.5,0),COLORB0B000;
DRAWTEXT(FILTER((REF(C,1)/REF(C,3)-1)*100<-5 AND C/REF(C,1)*100-100>=1 AND C/REF(C,1)*100-100<=2,5),L*0.98,'粽子'),COLORYELLOW;
选股公式
粽子:(REF(C,1)/REF(C,1)-1)*100<-7 AND C/REF(C,1)*100-100>=1 AND C/REF(C,1)*100-100<=2;