Print works in initialize but not in Calculate when indicator in a Robot.
Created at 12 Nov 2020, 22:33
SH
Print works in initialize but not in Calculate when indicator in a Robot.
12 Nov 2020, 22:33
To debug an indicator i've set a Print in initialize and in calculate
Running the indicator standalone will print in both cases
Running the indicator in a bot only prints the initialize message.
Is that a bug?
Replies
Shares4UsDevelopment
13 Nov 2020, 15:41
RE:
Code was OK.
Just needed to create new project with same source and restart ctrader and it worked.
Sorry I did not mentioned that before (Bit too busy i think)
@Shares4UsDevelopment
PanagiotisCharalampous
13 Nov 2020, 15:21
Hi Shares4UsDevelopment,
I cannot verify your claim. I tested it and works fine for me. Please check your code.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous