![]() ![]() MACD_Line.AssignValueColor(if MACD_Line > MACD_Line then MACD_Line.Color("Up") else (if MACD_Line = MACD_Line then MACD_Line.Color("Even") else MACD_Line. It’s the quote-enclosed name of a ThinkOrSwim function that’s loaded into memory when you run ThinkOrSwim. 'TOS.RTD' is sent as the 1st RTD parameter. RTD can act upon information sent between parenthesis in a particular order: 1. MACD_Line.DefineColor("Even", Color.WHITE) RTD is an Excel function that, for our purposes, opens up communications with ThinkOrSwim. MACD_Line.DefineColor("Down", Color.RED) MACD_Line.DefineColor("Up", Color.GREEN) ![]() Input AverageTypeMACD = ĭef MACD_Data = MACD(fastLength = fastLength, slowLength = slowLength, MACDLength = MACDLength) ![]() # Added zero line on suggestion of Ahmar824. # Long term MACD 48, 104, 36 BB length 20. Can accomplish all three by just adjusting inputs to fit your trading style. # Also have short and long term versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |