NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 11 of 11
Search: Posts Made By: vast
Forum: NinjaTrader November 15th, 2010, 04:24 PM
Replies: 21
Views: 9,835
Posted By vast
Hi Jon Well I did play with the idea for a...

Hi Jon

Well I did play with the idea for a bit, but gave up after I realised that I could never get a strategy to do what I wanted.
the money management side was ok, but I couldn't get an...
Forum: NinjaTrader August 20th, 2009, 07:14 AM
Replies: 21
Views: 9,835
Posted By vast
Thanks Mike. Will try it today some time.

Thanks Mike. Will try it today some time.
Forum: NinjaTrader August 19th, 2009, 09:03 PM
Replies: 21
Views: 9,835
Posted By vast
Mike I am wanting to have a variable that...

Mike
I am wanting to have a variable that stores the highest +ve Cumulative profit total for that session.
I am then going to use it as a reference for what I am willing to risk against to stop...
Forum: NinjaTrader August 19th, 2009, 08:41 PM
Replies: 21
Views: 9,835
Posted By vast
Mike I am still having a problem with this...

Mike
I am still having a problem with this idea.
if
(cumProfit > prevCumProfit)
{maxCumProfit = cumProfit;
// Print("Max Cum Profit is " + maxCumProfit);
...
Forum: NinjaTrader August 19th, 2009, 03:17 AM
Replies: 21
Views: 9,835
Posted By vast
Mike, one day I dream of being able to code like...

Mike, one day I dream of being able to code like you. I can understand after the fact, but before is like being in a jungle.
Thank you for your time and explanation
Forum: NinjaTrader August 19th, 2009, 02:37 AM
Replies: 21
Views: 9,835
Posted By vast
Thank you all for your ideas and guides. I felt...

Thank you all for your ideas and guides.
I felt a variable would be better as it would use less resources.
So I have come up with the following.

protected override void OnBarUpdate()
...
Forum: NinjaTrader August 16th, 2009, 11:10 PM
Replies: 21
Views: 9,835
Posted By vast
Hi Mike I tried the code and had a few errors....

Hi Mike
I tried the code and had a few errors. come up.
It didn't like the [0] is this:
int _highestcumprofit_bar = HighestBar(mycumprofit, Bars.BarsSinceSession - 1)[0];

Also had to add...
Forum: NinjaTrader August 13th, 2009, 09:09 PM
Replies: 21
Views: 9,835
Posted By vast
Thank you once again. Will have a look. I am...

Thank you once again. Will have a look.
I am wanting to stop the risk of losing all the profits of the day . So I was thinking of this method. I think that it makes good money management. ie. If I...
Forum: NinjaTrader August 13th, 2009, 08:50 PM
Replies: 21
Views: 9,835
Posted By vast
Is there a way to calculate maximum cumulative...

Is there a way to calculate maximum cumulative profit?
I realise that there is gross profit, but this is different to max cumulative profit.
Forum: NinjaTrader August 13th, 2009, 03:31 PM
Replies: 21
Views: 9,835
Posted By vast
Thank you Mike. Didn't even think to look there. ...

Thank you Mike. Didn't even think to look there.
I am sure that there is info in here that I could use.
Sorry for not looking
Forum: NinjaTrader August 13th, 2009, 02:56 PM
Replies: 21
Views: 9,835
Posted By vast
Stop strategy after a set $ amount lost from CumProfit

I am wondering if it is possible to stop a strategy after a certain amount of $ loss to your Cumulative profit.
I have read and used the settings for stopping if the CumProfit is > $ amount.
ie...
Showing results 1 to 11 of 11

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