Value1 = 2*Close + 2Close[1] - 2Close[3] -Close[4];
Value2 = Value1[1];
Value3 = Value1[2];
Plot1(Value3, "3-6DMA", checkbox:=1);
if islastBar and C<value2
then plot2(value2, "近壓");
if islastBar and C>value2
then plot3(value2, "近撐");
if islastBar and C<value1
then plot4(value1, "遠壓");
if islastBar and C>value1
then plot5(value1, "遠撐");
結果標示成三角形時
不僅僅在最後一根K線出現

1 評論