NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 7 of 7
Search: Posts Made By: sam028
Forum: NinjaTrader November 25th, 2019, 02:56 PM
Replies: 22
Views: 5,370
Posted By sam028
Well, I coded and tried it before sharing it, and...

Well, I coded and tried it before sharing it, and it worked as expected...
Forum: NinjaTrader November 25th, 2019, 05:08 AM
Replies: 22
Views: 5,370
Posted By sam028
Ninja has to be running.

Ninja has to be running.
Forum: NinjaTrader November 24th, 2019, 10:35 AM
Replies: 22
Views: 5,370
Posted By sam028
Try this strategy, test it carefully in sim mode...

Try this strategy, test it carefully in sim mode first!
280527
Forum: NinjaTrader November 23rd, 2019, 09:16 AM
Replies: 22
Views: 5,370
Posted By sam028
For this specific need it's going to be too long...

For this specific need it's going to be too long to explain step by step, and if you're not experienced this kind of strategy is a bit dangerous.
If I have some free time I'll put a functional...
Forum: NinjaTrader November 22nd, 2019, 06:34 PM
Replies: 22
Views: 5,370
Posted By sam028
It's not that simple, a strategy will only see...

It's not that simple, a strategy will only see its own instrument and its own PnL.

It should be something like this:
Account myAccount;
In OnStateChange() -> configure:
lock (Account.All)
...
Forum: NinjaTrader November 22nd, 2019, 04:44 AM
Replies: 22
Views: 5,370
Posted By sam028
You can use Account.positions...

You can use Account.positions (https://ninjatrader.com/support/helpGuides/nt8/?positions_account.htm). With this you can see the positions for all instruments, not only the one you're running the...
Forum: NinjaTrader November 21st, 2019, 07:01 PM
Replies: 22
Views: 5,370
Posted By sam028
It's possible in creating a strategy where its...

It's possible in creating a strategy where its only goal would be to check the PnL of all your open positions and close them if the $ value is reached.
Showing results 1 to 7 of 7

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top