How to change Columns in Scan

Discussion in 'Trading Software' started by ashok.iy, Nov 15, 2011.

  1. Simply use
    buysig = IIf(buycond, 1, 0); or
    sellsig = IIf(sellcond, 1, 0); and so on

    Filter = buysig == 1 || sellsig == 1 || .....

    addcolumn(buysig, "BUY", 1.0, colorBrightgreen, colorBlack, 50);
    addcolumn(sellsig, "SELL", 1.0, colorRed, colorBlack, 50);
    .
    .
    .
    .
     
    #11     Nov 17, 2011
  2. Or if you want the last true signal you could use writeif( buysig == 1, "BUY", "" ) ; and so on

    Filter = Status("Lastbarinrange");

    read manual
     
    #12     Nov 17, 2011