I made a simple strategy that I hope to be able to run on various instruments throughout the day. I expect that the strategy will be triggered many times throughout the day and I want to get alerts or print statements that will identify which instrument is triggered. Any ideas how to go about doing this??
Right now i understand how to make a print statement but I cant figure out how to insert the instrument object into that statement
I am looking for something like this
Print ("Market price, that was trending up just crossed below 20EMA on" + instrument "at" + Time.ToString());
etc, there is also Instrument.FullName, I think that is 'description' of instrument you see in Instrument Manager.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.