NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 4 of 4
Search: Posts Made By: elitecamper
Forum: NinjaTrader June 28th, 2022, 10:18 AM
Replies: 10
Views: 2,435
Posted By elitecamper
Zeller4, from my experience the boundaries are...

Zeller4, from my experience the boundaries are fixed plots, you plot a line a give it a fixed value. I don't think you will be needing "with" and "s" from thinkscript. Let me know how it goes.
Forum: NinjaTrader June 28th, 2022, 09:46 AM
Replies: 10
Views: 2,435
Posted By elitecamper
I looked into it, and I don't think you need to...

I looked into it, and I don't think you need to add a series for the open and close after all. Here is a new one. I am uploading the code in cs file. If it doesn't work I will look into it later...
Forum: NinjaTrader June 28th, 2022, 09:20 AM
Replies: 10
Views: 2,435
Posted By elitecamper
The code should be, _o[0] = Open[0]; ...

The code should be,


_o[0] = Open[0];
_c[0] = Close[0];

for (int idx=0;idx<Length;idx++)//14
{

_data[idx] = _c[0] > _o[idx] ? 1 : _c[0] < _o[idx] ? -1 : 0;
Forum: NinjaTrader June 28th, 2022, 04:06 AM
Replies: 10
Views: 2,435
Posted By elitecamper
Hello zeller4, The double o, and double c,...

Hello zeller4,

The double o, and double c, need to be declared before the for loop.
And they should not be variables but series objects instead.

Give it a try.
Showing results 1 to 4 of 4

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