文章预览
点击 关注☝ , 置顶 + 星标 每天订阅, 学习更多指标内容 ☼☝ 一、指标说明: 提前80日内的高低点,画区间,当MACD,KD,均量线,同时金叉,为区间买点信号。 二、主图公式如下: DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF; DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF; DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF; DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLORRED; 高:=REF(HHV(H,80),3); 低:=REF(LLV(L,80),3); H19:=高-(高-低)*0.191; H38:=高-(高-低)*0.382; H中:=高-(高-低)*0.5; H61:=高-(高-低)*0.618; H80:=高-(高-低)*0.809; 顶点:REFDATE(高,DATE),COLORWHITE; REFDATE(H19,DATE),COLORYELLOW; REFDATE(H38,DATE),COLORMAGENTA; REFDATE(H中,DATE),COLORRED; REFDATE(H61,DATE),COLORMAGENTA; REFDATE(H80,DATE),COLORYELLOW; 低点:REFDATE(低,DATE),COLORWHITE; DRAWTEXT(ISLASTBAR,低点,''),COLORWHITE; MA3:MA(CLO
………………………………