how to avoid these type of trades in algo - futures io
futures io

how to avoid these type of trades in algo

Discussion in NinjaTrader

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

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

how to avoid these type of trades in algo

(login for full post details)
  #1 (permalink)
la puente, California
Experience: None
Platform: NinjaTrader
Trading: Es
Posts: 24 since Oct 2018
Thanks: 4 given, 1 received


need suggestion on how to program in a condition so that I can avoid these type of trades in algo (attached image). I do not want my algo to go long because the prior 3+ bars are close to swing top and also in congestion.

I have use these indicator to try to filter out as much as I can:

choppiness index
dynamic sr bands

What I think is that I have to do bar[0], bar[1], bar[2] (some math) = congestion true...

am I on the right though process and if someone is willing to supply sample code for me to test.

or should I go with a RSI type to limit trades when it could be overbought/sold?

Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	84
Size:	15.3 KB
ID:	320183   Click image for larger version

Name:	Capture.PNG
Views:	70
Size:	53.3 KB
ID:	320184  
Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Take Profit/ Tpx during crypto futures trading
Crypto Futures
Tick counter that works with directions?
Emini Trading Levels
Emini and Emicro Index
(login for full post details)
  #2 (permalink)
Experience: Beginner
Platform: NinjaTrader, MT4
Trading: ES, FX
Posts: 6 since Nov 2012
Thanks: 4 given, 4 received

You r right on the congestion. Something like this could work:
if (range of last x bars < certain points) ==> congestion.

Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > how to avoid these type of trades in algo

Last Updated on December 12, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, 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.
no new posts