READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Can ‘Comment’ in Buy Order contain the value of a variable?

2 replies

daveM

Subscriber, bbp_participant, community, customer, sq-ultimate, 108 replies.

Visit profile

10 years ago #115277

I would like to see the value of an indicator at the time an order is placed….

 

Can “Comment” be used for that……

 

if so, please, type an example……

 

I think I can insert a ‘Print’ statement in the code, just wondered if Comment can do the same.

 

Thanks

 

daveM

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #137923

Hello, you need to do two things:

  1. Store indicator value into a variable using Assign value
  2. Use Log to journal in your trading condition to see the value during backtest, live market

0

daveM

Subscriber, bbp_participant, community, customer, sq-ultimate, 108 replies.

Visit profile

10 years ago #137927

Ok, Great…  thank you.

 

That is going to be a great debug tool!

 

It took me a couple tries to get it to work, but now I think I can use it to my advantage

 

Thanks again!

 

 

0

Viewing 2 replies - 1 through 2 (of 2 total)