Hi all,
it's possible to show the variable on the chart or separate windows to understand code developed?
Thanks,
tradingest
View log for variable [SOLVED]
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
- ABC
- Posts: 718
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: View log for variable
tradingest,
you can use Print to write the variable value to the PL Editor Output tab or use a Plot to display the value on the chart.
Regards,
ABC
you can use Print to write the variable value to the PL Editor Output tab or use a Plot to display the value on the chart.
Regards,
ABC
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: View log for variable
What I do is, PLOT the variable, but set it as "Invisible" on the chart.Hi all,
it's possible to show the variable on the chart or separate windows to understand code developed?
Thanks,
tradingest
When I put the cursor on the bar, I would be able to see the value of the PLOT (ie the variable) in the tracking window.
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
Re: View log for variable
It's possible have an example?
In TS I use this code below and after I see this variables below the chart in the specific windows for log.
Thanks,
tradingest
In TS I use this code below and after I see this variables below the chart in the specific windows for log.
Code: Select all
print(
" OnePricePip: ", OnePricePip:3:5,
" ValueTick: ", ValueTick:3:2,
" ValuePoint: ", ValuePoint:3:2,
" NTicks: ", NTicks:3:1
);
tradingest
- ABC
- Posts: 718
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: View log for variable
tradingest,
your code should work fine (given it has the variables in it of course) the output will appear in the Output tab of the editor and not in the main program like in TS.
Regards,
ABC
your code should work fine (given it has the variables in it of course) the output will appear in the Output tab of the editor and not in the main program like in TS.
Regards,
ABC
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times