I want to add some more features to the "FractalPivot_TradeStation" indicator which I downloaded from this website.The file is attached with this post.
I wanted to add "down" and "up" arrows instead of the dots. It worked.
I also want to add audio messages only when these arrows are painted on the screen. I used following line in the code. It does not work. The sound plays on each bar and not when the arrows are painted on the chart.
Alert("Alert1", NinjaTrader.Cbi.Priority.High, "Sample1", "Alert4.wav", 37, Color.Black, Color.Yellow);
I also tried with the line
PlaySound(@"C:\Program Files\NinjaTrader 7\sounds\Alert3.wav.wav");
This does not play even.
I will much appreciate if some one can guide me. I am not a programmer. I will be glad to try some tweaking and learning with your help. I have attached both the original indicator and the revised file.
The two files are:
In process - FractalPivot_TradeStation.zip
Original - FractalPivot_TradeStation.zip
Thank you.
Comment