NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 7 of 7
Search: Posts Made By: srgtroy
Forum: NinjaTrader July 7th, 2016, 02:25 AM
Replies: 18
Views: 4,308
Posted By srgtroy
Actually, this code is better. I've included a 5...

Actually, this code is better. I've included a 5 minute line and a 30 minute line plus made it more efficient:

Using declarations

namespace NinjaTrader.Indicator
{

...
Forum: NinjaTrader July 7th, 2016, 02:10 AM
Replies: 18
Views: 4,308
Posted By srgtroy
The proper parameters for the DrawSquare method...

The proper parameters for the DrawSquare method should be:
DrawSquare("a1" + CurrentBars[0], true, 0, 30, Color.xxx);


So autoscale gets changed to "true" and the y value gets set to 30 (or...
Forum: NinjaTrader July 7th, 2016, 01:37 AM
Replies: 18
Views: 4,308
Posted By srgtroy
You are welcome. However, there is still one...

You are welcome. However, there is still one problem with the code as it currently stands. Instead of plotting this line at the value of "1". You will probably want to plot it at the value of...
Forum: NinjaTrader July 7th, 2016, 01:21 AM
Replies: 18
Views: 4,308
Posted By srgtroy
For example, let's use an easy sample condition. ...

For example, let's use an easy sample condition. If the close of the thirty minute bar is greater then the close of the previous thirty minute bar, the square is green; if it less, the square will...
Forum: NinjaTrader July 7th, 2016, 12:55 AM
Replies: 18
Views: 4,308
Posted By srgtroy
What do you mean draw until the next bar? You...

What do you mean draw until the next bar? You mean you want a rectangle that goes the length of the 30 mins? Generally speaking, the rectangle shape is usually used in the price bar area but I...
Forum: NinjaTrader July 6th, 2016, 11:11 PM
Replies: 18
Views: 4,308
Posted By srgtroy
https://nexusfi.com/attachment.php?attachmentid=21...

https://nexusfi.com/attachment.php?attachmentid=211714

This is Pacific Standard Time so 12:30 - 13:00. No strays. Note, however, there is no data between 13:15 and 13:30 so the next square looks...
Forum: NinjaTrader July 6th, 2016, 09:57 PM
Replies: 18
Views: 4,308
Posted By srgtroy
Using declarations namespace...

Using declarations

namespace NinjaTrader.Indicator
{


public class test : Indicator
{
protected override void Initialize()
{
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