文章预览
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。 点击上方 【指标汇集】 关注 , 置顶 + 星标 每天订阅, 学习更多指标内容 主力建仓主图指标源码如下: SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10; SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE; MA5:MA(CLOSE,5)DOTLINE COLORWHITE; DRAWBAND(SWL,RGB(255,50,50),SWS,RGB(64,204,208)); STICKLINE(C>O,C,O,2.8,0),COLORRED; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); JRH:=HHV(C,2);{微信公众号:指标汇集} JRL:=LLV(C,2); MA3:=MA(CLOSE,3); YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; ABC1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); ABC2:=(REF(ABC1,1) AND CLOSE < =REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); ABC3:=(REF(ABC2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE < =REF(CLOSE,2)); ABC4:=(REF(ABC3,1) AND CLOSE < =REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); ABC5:=(REF(ABC4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE < =REF(CLOSE,2)); ABC6:=
………………………………