// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("TRIX - Colorized"); periods = Param("Periods", 9, 2, 200, 1 ); tx = Trix( periods ); Plot( tx, _DEFAULT_NAME(), IIf(tx > Ref(tx, -1), colorGreen, IIf(tx < Ref(tx, -1), colorRed, colorBlack)), styleThick|styleHistogram); _SECTION_END();