NexusFi: Find Your Edge


Home Menu

 





Point Filter


Discussion in NinjaTrader

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




 
Search this Thread

Point Filter

  #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?
What broker to use for trading palladium futures
Commodities
Quantum physics & Trading dynamics
The Elite Circle
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

@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


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