Support Board
Date/Time: Tue, 26 Nov 2024 05:57:04 +0000
Post From: ACSIL programming assistance request
[2024-01-04 22:39:38] |
User719512 - Posts: 264 |
You might try MessageString.Format("Subgraph_ZigZag1 %f sc_Index %d" , Subgraph_ZigZag1[sc.Index], sc.Index); or for better formatting MessageString.Format("Subgraph_ZigZag1 %.02f sc_Index %d" , Subgraph_ZigZag1[sc.Index], sc.Index); For my code, I use ZigZag2, but I do know that sample in studies7 works for either. As I recall, the values in your Subgraph_ZigZag1[sc.Index] will be -1, 0, or 1, so you probably don't want to display those in same region as the main chart. As for your own use, changing to sc.AddMessageToLog(MessageString, 1); |