View Full Version : Using greater than and less than in the same condition?
Loren1711
02-28-2009, 12:57 PM
Heres a screenshot of what I have so far, but this doesn't work:
http://www.screencast.com/t/LbgqLhil
If this offers any clarification, I am trying to create instructions for the condition:
Value < CurrentBid < Value
Any ideas?
Thanks,
Loren
NinjaTrader_Ray
02-28-2009, 01:47 PM
Try something like:
value < bid && value < value
Loren1711
02-28-2009, 02:55 PM
Thank you sir, I realized that was a dumb question just after I posted it. But heres one thats hopefully not so dumb...
I am trying to set up a position management system that has the following:
x% Firm Stop
x% Trail Stop
x% Profit Target to dump half the position
Heres the way I have it set up:
http://www.screencast.com/t/Qs8IjC1PDtt
The problem with this is that for some reason, trail stops are not triggering. Firm stops and profit targets are however.
The way only way I can find to dump half a position is to open two half positions at the start, hence the 4 order types.
Can anyone tell me why the trail stops arent triggering?
roonius
02-28-2009, 11:28 PM
You can't set firm and trailing stops for the same order. You have to choose one. Also you can change "firm" stop's price by changing it inside the script, so it will become kind of "trailing"