PDA

View Full Version : A percentage of a move


stephenszpak
04-16-2009, 07:14 AM
I was wondering what would be the least complex way to do this
in NT. I don't think it is possible without NinjaScript but am unsure.
(I assume the script would have to be started by the trader a second
after the trade was made.)


Let's say a descretionary trade is made on the YM. One goes long on the
YM at 8000.

Stoploss is 4 points.
Breakeven stop is 4 points.
If YM goes to 8010 a trailing stop of 5 points is engaged.
If the YM goes to 8015 without any stop being engaged then...

(I don't know the name of this>>>) NinjaTrader would monitor
the trade to capture 70% of this upward move. That is, 70% of
the move that in hindsight, began at 8000 and will go to whatever.
I don't see how
any FIXED trailing stop would work here. The move up could be 20
points, 50, 75, etc.

Of course I'm not asking customer support for the exact details of all
this...just the basics of what would be involved.

Thanks,

- Stephen

NinjaTrader_Jason
04-16-2009, 07:34 AM
Hello Stephen,

You can enter ATM values as percentage instead of ticks.
Please right click in the SuperDOM and select Properties. Set Parameter type to Percentage.

I suggest to play with the values and check what will work best for you.

stephenszpak
04-16-2009, 07:41 AM
Oh, I didn't know that percentages were available there.

Ok, but apparently I can't use ticks for the stoploss,breakeven stop,
and trailing stop unless I use ticks for the percentage stop. Using ticks
for the percentage stop is impossible of course.

If I use percentages for the stoploss, breakeven stop and trailing stop,
it would not be at all straightforward.

Anyway, so I can't use ticks AND percentages for this trading idea, correct?

Also, it doesn't seem that this idea can be done exactly this way, at the DOM.

- Stephen

stephenszpak
04-18-2009, 09:38 PM
Hello Stephen,

You can enter ATM values as percentage instead of ticks.
Please right click in the SuperDOM and select Properties. Set Parameter type to Percentage.

I suggest to play with the values and check what will work best for you.

Thanks. I just quickly checked this out. It seems the smallest percent allowed for a
stoploss is .1%


Is this correct?

NinjaTrader_Bertrand
04-19-2009, 05:48 AM
This is correct Stephen, unfortunately you can't mix percent and tick based settings.

stephenszpak
04-19-2009, 07:05 AM
This is correct Stephen, unfortunately you can't mix percent and tick based settings.

So what would be the stoploss minimum setting for the YM if
it was 10,000? .1% is 10 ticks
Maybe I'm not getting this, but this doesn't seem right.

NinjaTrader_Bertrand
04-19-2009, 08:22 AM
Correct, if you need the stop closer by just enter it in ticks or price based by switching the paramter type in the properties.

stephenszpak
05-06-2009, 07:49 AM
A stoploss of 10 ticks minimum is pretty useless on the YM
I would think.

What about this:

I went long the YM and my stop loss (whatever it was, 4 ticks, whatever)
was not hit. The market is up 20 ticks. It seems to be steadily
moving upward. Is there anyway,
using any part of NT to take 70% of this move after I have seen
this 20 tick rise?
Or have an alarm sound?

NinjaTrader_Jason
05-06-2009, 08:18 AM
Hello stephenszpak,

You can always manually modify your stop loss to cover a profit percentage. Please see the link below for instructions and more information.
http://www.ninjatrader-support.com/HelpGuideV6/ModifyingOrders.html

Alarm conditions can be used in the Market Analyzer.
http://www.ninjatrader-support.com/HelpGuideV6/CreatingAlertConditions.html

However, you cannot use a percentage in the condition, only absolute values.

In addition, you can create NinjaScript files that will make use of alarms/alerts.
http://www.ninjatrader-support.com/HelpGuideV6/Alert.html