先建个引用公式:
{支阻引用}
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2+O)/5;
E:=CDP;{www.70822.com}
阻二:CDP+(REF(H,1)-REF(L,1));
阻一:2*E-REF(L,1);
支一:2*E-REF(H,1);
支二:E-(REF(H,1)-REF(L,1));
再建一个分时指标:
{智能分时 分时撑压}
阻二:"支阻引用.阻二#DAY",DOTLINE,COLORRED;
阻一:"支阻引用.阻一#DAY",DOTLINE,COLORCYAN;
支一:"支阻引用.支一#DAY",DOTLINE;
支二:"支阻引用.支二#DAY",DOTLINE;
{分析家公式网 http://www.70822.com/}
DRAWTEXT(ISLASTBAR,阻二,STRCAT('突破价:',CON2STR(阻二,2)));
DRAWTEXT(ISLASTBAR,阻一,STRCAT('压力价:',CON2STR(阻一,2)));
DRAWTEXT(ISLASTBAR,支一,STRCAT('支撑价:',CON2STR(支一,2)));
DRAWTEXT(ISLASTBAR,支二,STRCAT('反转价:',CON2STR(支二,2)));
p20195181232528603.jpg
|