1 strategy with 3 long position - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

1 strategy with 3 long position
Started:October 14th, 2013 (04:33 AM) by giger2000 Views / Replies:251 / 1
Last Reply:October 14th, 2013 (04:33 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

1 strategy with 3 long position

Old October 14th, 2013, 04:33 AM   #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: VisualTrader/Sungard GLWIn/ IB/ NT
Favorite Futures: EUR/USD
Posts: 15 since Sep 2013
Thanks: 1 given, 2 received

1 strategy with 3 long position


i'm trying to execute 3 buys with diferent conditions:

protected override void OnBarUpdate()
// Condition set 1
if (High[NumBarras] >= GetCurrentAsk() + DistCompra1)
EnterLong(QtyOrden, "Compra1");

// Condition set 2
if (High[NumBarras] >= GetCurrentAsk() + DistCompra2)
EnterLong(QtyOrden, "Compra2");

// Condition set 3
if (High[NumBarras] >= GetCurrentAsk() + DistCompra3)
EnterLong(QtyOrden, "Compra3");

But only works de first Buy. How could i do it?

Reply With Quote

Old October 14th, 2013, 04:33 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > 1 strategy with 3 long position

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call ATM Strategy on an automated strategy to control position jsengxx NinjaTrader Programming 7 May 31st, 2016 04:51 PM
Strategy Position and Account Position spinnybobo NinjaTrader 15 February 13th, 2015 09:00 PM
strategy wizard and current position Manuel17 NinjaTrader 0 April 30th, 2013 09:29 PM
simple go long or go short strategy stephenszpak NinjaTrader Programming 7 July 21st, 2010 10:05 AM
Looking for a simple MACD strategy. MACD Xover LONG, go LONG roshareid NinjaTrader Programming 2 April 11th, 2010 08:05 PM

All times are GMT -4. The time now is 11:20 PM.

Copyright © 2016 by futures.io. 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.
no new posts

Page generated 2016-10-22 in 0.07 seconds with 20 queries on phoenix via your IP