ThinkOrSwim - MACD Colored Candles on Crossover
futures io

Categories Help    

ThinkOrSwim Downloads / ThinkOrSwim Indicators

Share ThinkOrSwim strategies and indicators.

MACD Colored Candles on Crossover 4 *
Atttached file uses the parameters 6-16-6 EMA vs the code parameters below.

# Waylock on [email protected]
# created 11/5/12

input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input AverageType = {SMA, default EMA};

def Value = MACD(fastLength, slowLength, MACDLength, AverageType).Value;
def Avg = MACD(fastLength, slowLength, MACDLength, AverageType).Avg;

# Changes color of bars
AssignPriceColor(if Value > Avg then Color.LIME else if Value < Avg then
color.MAGENTA else color.current);

Category ThinkOrSwim 
Suggest other entries I might like
Details: MACD Colored Candles on Crossover
Category: ThinkOrSwim 

November 5th, 2012
Size: 471 bytes
Downloaded: 205 times

Keywords: candles macd colored


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.