All,
I thought that I would post a general information post so hopefully people don’t waste the hours I did chasing the error.
if (Strategy.InTrade() == true){
if (Strategy.IsLong() == true)
{
Tradetext = "long";
}
else
{
Tradetext = "short"
}
}
Above I’ve copied and pasted some code. The syntax of the Strategy.InTrade() line is slightly incorrect. The syntax should read, Strategy.isInTrade(). This wasn’t picked up by the EFS interpreter nor at run time (it was just hitting the code and returning to the calling function). Due to the lack of functionality in the complier in debug mode unfortunately it took me many hours to track the error down. I just wanted to post a message so:
1) Hopefully, someone at Esignal will do something about it.
2) So hopefully others don’t waste their time tracking down the same error
Kind regards,
Dan
I thought that I would post a general information post so hopefully people don’t waste the hours I did chasing the error.
if (Strategy.InTrade() == true){
if (Strategy.IsLong() == true)
{
Tradetext = "long";
}
else
{
Tradetext = "short"
}
}
Above I’ve copied and pasted some code. The syntax of the Strategy.InTrade() line is slightly incorrect. The syntax should read, Strategy.isInTrade(). This wasn’t picked up by the EFS interpreter nor at run time (it was just hitting the code and returning to the calling function). Due to the lack of functionality in the complier in debug mode unfortunately it took me many hours to track the error down. I just wanted to post a message so:
1) Hopefully, someone at Esignal will do something about it.
2) So hopefully others don’t waste their time tracking down the same error
Kind regards,
Dan
Comment