NinjaScript risk % of account equity per trade - NinjaTrader | futures io social day trading
futures io futures trading

NinjaScript risk % of account equity per trade
Updated: Views / Replies:1,060 / 2
Created: by GgMc Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

NinjaScript risk % of account equity per trade

  #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: EURUSD
Posts: 1 since Aug 2014
Thanks: 0 given, 0 received

NinjaScript risk % of account equity per trade

Heya guys,

I've been trying to figure out a method of risking at most 2% of my total account equity per trade. I've been playing around with some strategies and I wanted to figure out if anyone has come up with a ninja script to set the amount risked equal to a % of their account based on their stoploss.

For example, I have a strategy where the stoploss works best at 20 pips and an account with net equity 10,000 USD, I want to limit those 20 pips of EUR/USD to being 2% of my total account or 200$. How that looks to me is:

What risk of 10,000$ is 20 pips = 200$ on EUR/USD?
What about 10,000$ and 40 pips = 200$ on EUR/USD?
Or if 25,000$ account and 20 pips = 500$ on EUR/USD

I greatly appreciate any help with this.

Reply With Quote
  #2 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NinjaTrader
Posts: 7 since Jun 2010
Thanks: 12 given, 0 received

I've never found something like that. It would be the only thing I would like to have mechanical/automated in my trading. Calculating the position size based on my stop and % I like to risk. But there are some indicators that help to determine the position size and risk like this one:

Unfortunately I don't if you find some non-elite-member indicators out there.

Reply With Quote
  #3 (permalink)
Elite Member
Omer עומר / Israel י
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
rleplae's Avatar
Posts: 2,710 since Sep 2013
Thanks: 1,986 given, 4,313 received
Forum Reputation: Legendary

How i would do it

What about this :

amount = capital * max risk percentage / (pipvalue * number of pips SL)

your example :
suppose you have 1000 € and want to risk 2%
maximum loss = 20 €

equivalent lot = 1000 € * 0,02 / (0,0001 X 20)

0,02 : 2 %
0,0001 : pip value
20 : number of pips

result being 10000 €
you can maximum buy/sell 10000 € with a 20 pip stop

check : 20 pips of 10.000 € = 10.000 * 0,0020 = 20 €

be careful, you can have slippage on your stop.

I normally trade futures, and there we talk ticks and contracts.

Reply With Quote
The following user says Thank You to rleplae for this post:


futures io > > > > NinjaScript risk % of account equity per trade

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated account size/risk management? jiorose Elite Automated Trading 3 June 29th, 2014 08:46 PM
Day trade AND Swing trade the same account/broker ? wwwingman Reviews of Brokers and Data Feeds 8 April 4th, 2014 12:43 PM
Can I use a Ninja demo account to trade with a live web-based account? budfox NinjaTrader 23 July 16th, 2013 07:49 AM
Managing Risk with Equity Curve and Portfolio liquidcci Psychology and Money Management 5 April 24th, 2013 09:51 AM
One Trade Per Bar NINJASCRIPT LastShadowRider NinjaTrader Programming 8 August 2nd, 2011 02:15 PM

All times are GMT -4. The time now is 06:20 AM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-05-26 in 0.07 seconds with 19 queries on phoenix via your IP