How can I refer to the entry price? #372
-
I am trying to experiment with tp_stop and sl_stop. Make them follow the price, etc. I tried to use the suggested code from this thread: #338
but when I use it:
I get an error: "NameError: name 'entry_price' is not defined". What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Entry price is your order price, such as |
Beta Was this translation helpful? Give feedback.
-
Yes, but how can I refer to that particular order? For an example:
So using |
Beta Was this translation helpful? Give feedback.
Entry price is your order price, such as
close
or whatever you choose.