NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: FArias
Forum: NinjaTrader February 23rd, 2011, 04:57 AM
Replies: 5
Views: 4,871
Posted By FArias
Got it!

I think I got it to work... but I do not know exactly why.

I added some code to set the stoploss and targetprofit to 1 and 10000 if the market position is flat. I could have used other values, I...
Forum: NinjaTrader February 23rd, 2011, 03:13 AM
Replies: 5
Views: 4,871
Posted By FArias
Hello Luger, Thanks for the info, I will...

Hello Luger,

Thanks for the info, I will read through OnOrderUpdate. However, I think I am already getting the correct entry price with Position.AvgPrice. I am substracting from that entry price...
Forum: NinjaTrader February 22nd, 2011, 03:35 AM
Replies: 5
Views: 4,871
Posted By FArias
StopLoss as fraction of ATR

Hello all,

I am trying to program a simple stop loss and profit target based on a fraction of the ATR value at the bar where the trade was placed, but can not get it to work. :frusty: Any help...
Showing results 1 to 3 of 3

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