NexusFi: Find Your Edge


Home Menu

 





Point Filter


Discussion in NinjaTrader

Updated
    1. trending_up 2,804 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
peonia trader
Malaga Spain
 
Posts: 1 since Feb 2012
Thanks Given: 0
Thanks Received: 0

Good afternoon.

I enclose a Script, which desire to execute the orders of input points with a filter to limit the number of failed logins.

1. - The case is, that market entry should have a filter to prevent many failed logins, hence the idea of putting a filter input range (filtroM) of 20 points above / below the closing cross bar (bullish / bearish).

EnterLong (Close [0] + filtroM);
EnterShort (Close [0] - filtroM);

The reason that the input commands are in "Stop" is because it throws an order at a price above / below the market.

Obviously entry should be at any post sail beam, thus closing it, is the starting point.

Hence, the firm intends to use (but does not work):

EnterLong Stop (int barsInProgressIndex, liveUntilCancelled bool, int Quantity, double stopPrice, string signalName);

For the order of entry of a candle last longer (and not canceled internally by NT7)

2. - The code attached, it works, but I need to create strategies to ensure compliance with the above.

Could you tell me how is it done?

A greeting.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

@peonia trader: I think nobody has answered, because this post has been machine translated and is not comprehensive.

I do not understand it. You could try the Spanish subforum, and post in Spanish language, maybe you will me more lucky then.


Reply With Quote




Last Updated on July 17, 2012


© 2026 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 - Downloads - Top
no new posts