Using Scripts, it is possible to print Variables to find out it's Value. I find this very helpful in the debugging proccess.
For example:
int TheLongValue;
Print(TheLongValue);
In Strategies, this does not work. Would be great to also use this in strategies Thanks
Print() Variables in Strategies
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
Hmm, actually Print() should work for strategies too... please try creating a simple strategy that has only one "Print" code line and you will see that it works.
P.S. Make sure that strategy execution is enabled and your strategy is enabled in the list of strategies.
P.S. Make sure that strategy execution is enabled and your strategy is enabled in the list of strategies.
Check our other product here:
http://www.forexcopier.com
http://www.forexcopier.com
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
Please use "sprintf" method, for example
Code: Select all
char buff[30];
sprintf(buff,"ATR = %f",ATR[index+1]);
Print(buff);
Check our other product here:
http://www.forexcopier.com
http://www.forexcopier.com
Return to “New Feature Suggestions”
Who is online
Users browsing this forum: No registered users and 17 guests