I have been trying to reference entry volume in a similiar manner as to how entry price may be referenced.
For Entry price is use this:
if (Close[bar] >= (LastPosition.EntryPrice * 1.50))
I want to do a similiar thing for volume. I attempted to use the following code but is did not work.
if (Volume[bar]*1.5 < (LastPosition.EntryVolume))
I was attempting to use the above code to find out if volume had dropped greater than 50% from the entry volume. Does anyone know how to do this?
Size:
Color:
QUOTE:
I attempted to use the following code but is did not work.
That would be pretty shocking if it worked! :) There is no such thing as "entry volume". There can be volume at the bar of entry or position's size:
CODE:
Please log in to see this code.
Size:
Color:
Eugene, you are awesome. Thank you.
You also made me laugh :).
Size:
Color:
Thanks for the kind words Jim. Glad to help.
Size:
Color: