MACD_Dots.AssignValueColor(if MACD_Line > MACD_Line and MACD_Line > BB_Upper then Color.GREEN else if MACD_Line BB_Upper then Color.DARK_GREEN else if MACD_Line MACD_Line and MACD_Line MACD_Line and MACD_Line > BB_Upper then Color.GREEN else if paintbars and MACD_Line BB_Upper then Color.DARK_GREEN else if paintbars and MACD_Line MACD_Line and MACD_Line = Lower_Band then BB_Upper else BB_Lower, BB_Lower, Color.yellow) MACD_Line.AssignValueColor(if MACD_Line > MACD_Line and MACD_Line >= BB_Upper then Color.GREEN else if MACD_Line = BB_Upper then Color.DARK_GREEN else if MACD_Line MACD_Line and MACD_Line MACD_Line then een else Color.RED) #MACD_Line.AssignValueColor(if MACD_Line > MACD_Line then een else color.red) Plot BB_Midline = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_Dev_Up = BBNum_Dev).MidLine Plot BB_Lower = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_Dev_Up = BBNum_Dev).Lowerband Plot BB_Upper = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_Dev_Up = BBNum_Dev).UpperBand # Added Price Color option by Prerak V.ĭef MACD_Data = MACD(fastLength = MACDfastLength, slowLength = MACDslowLength, MACDLength = MACDLength) # modification to color scheme by Rick_K 12/26/20.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |