同花顺四方多空趋势副图指标
源码
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1a:=REF(EMA(V1,3),1);
多空趋势:=MA((CLOSE - HY1a) * 10,2);
操盘:STICKLINE(多空趋势 =0 AND 多空趋势 =REF(多空趋势,1),0,多空趋势,4,0),coloryellow;
减仓:STICKLINE(多空趋势 =0 AND 多空趋势 REF(多空趋势,1),0,多空趋势,4,0),coloryellow;
反弹:STICKLINE(多空趋势 0 AND 多空趋势 =REF(多空趋势,1),0,多空趋势,4,0),colorgreen;
寻底:STICKLINE(多空趋势 0 AND 多空趋势 REF(多空趋势,1),0,多空趋势,4,0),colorgreen;
0,POINTDOT,colorwhite;