Hey Guys, Question - How can we write a piece of code to send keystroke to the chart from a C# indicator. I Googled on the net I see various code which sends keystroke from a C# form to another program, but when I tried to copy it on a C# indicator, it gives out an error. Indicator does not identify the method.
My C# knowledge is limited but I think the indicator is giving an error as the below piece of code is not supported in the CalcBar() method.
SendKeys.Send("{AUDUSD}");
SendKeys.Send("{ENTER}");
Send keystroke to the chart
- Tammy MultiCharts
- Posts: 200
- Joined: 06 Aug 2020
- Has thanked: 6 times
- Been thanked: 65 times
Re: Send keystroke to the chart
Hello Abhi,
Please use the pre-built _ChartToolBar_Trading_ signal as a reference.
Please use the pre-built _ChartToolBar_Trading_ signal as a reference.
Re: Send keystroke to the chart
Thanks a lot Tammy. Found a freeware software on the internet that sends keystroke to any windows application.
http://prjsoft.ru/sendkeys.php
http://prjsoft.ru/sendkeys.php