Tambahkan 4 line ini
Buy = shortroc > 0 ;
Sell = shortroc < 0 ;
Buy = exrem( buy , sell ) ;
sell = exrem( sell , buy ) ;
Best Regards,
Christopher Tahir
Sent from my iPad
PlotStyle = ParamStyle("Plot Style", styleLine );SHortPeriods = Param("Short Periods", 3, 1, 100, 1);shortma = MA( C,SHortPeriods);shortroc = ROC( shortma, SHortPeriods-1);Plot( shortma, "MA3", IIf( shortroc > 0, colorGreen, colorRed ), PlotStyle);minta bantuan seniors untuk lengkapi afl ini dgn perintah sbb :buy ketika line merah berubah menjadi hijausell ketika line hijau berubah menjadi merahtidak boleh ada buy sell pada line dgn warna yg sama.trims.
__._,_.___



No comments:
Post a Comment