NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: MXASJ
Forum: NinjaTrader October 2nd, 2009, 04:03 AM
Replies: 10
Views: 8,848
Posted By MXASJ
Printin' as we speak :) // Condition set...

Printin' as we speak :)


// Condition set 1 SHORT
if (high - low >= 12* TickSize
&& close < low
)
{
DrawArrowDown("My down arrow" + CurrentBar, false, 0, High[0]+(2*TickSize), Color.Red);...
Forum: NinjaTrader October 2nd, 2009, 02:29 AM
Replies: 10
Views: 8,848
Posted By MXASJ
Added a condition to see where it was doing what;...

Added a condition to see where it was doing what;


// Condition set 1 SHORT
if (high - low >= 12* TickSize
&& close < low
)
{
DrawArrowDown("My down arrow" + CurrentBar, false, 0,...
Forum: NinjaTrader October 2nd, 2009, 02:14 AM
Replies: 10
Views: 8,848
Posted By MXASJ
Some progress... but I'm getting up and down...

Some progress... but I'm getting up and down arrows on every bar. My broker would love me but it's not quite right;

protected override void Initialize()
{
Add (_swing = Swing (_strength));...
Forum: NinjaTrader October 2nd, 2009, 01:38 AM
Replies: 10
Views: 8,848
Posted By MXASJ
Piresh that is very close to what I am trying to...

Piresh that is very close to what I am trying to do. Before I saw your code I wrote this:


protected override void OnBarUpdate()
{
// Condition set 1 SHORT
if ((Swing(7).SwingLow[1] ==...
Forum: NinjaTrader September 30th, 2009, 11:40 AM
Replies: 10
Views: 8,848
Posted By MXASJ
I'm on the road now so I'll respond more clearly...

I'm on the road now so I'll respond more clearly when I'm back.

Getting the value of most recent swing hi/lo has confused me as close[0] doesn't have a value, and there are times when no hi|lo is...
Forum: NinjaTrader September 30th, 2009, 03:38 AM
Replies: 10
Views: 8,848
Posted By MXASJ
Swing in a Strategy

Hi All,

I've been looking at incorporating the Swing High/Low indicator in a strategy and have hit a wall. Basically what I'm trying to code is;

If Close[0] > most recent swing high

Go...
Showing results 1 to 6 of 6

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