NexusFi: Find Your Edge


Home Menu

 





Help with scanner


Discussion in NinjaTrader

Updated
    1. trending_up 1,649 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)
Scotta65
Kansas city
 
Posts: 1 since Sep 2015
Thanks Given: 0
Thanks Received: 0

I am trying to program a scanner but I am struggling to think what logic I could input and give me the setups I want.

Basically, what I want is a stock that has been on a run and then has pulled back to a certain MA.

seems simple, but its been hard filtering thru all the BS that my scanner brings up currently. Right now the logic I have coded is essentially 'current low is lower or equal to MA and prior days low is higher than current low.'

Anyone have any ideas on what logic could bring better results for what I want?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Daytrading to swingtrading
Traders Hideout
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Thanks Mike. Godspeed.
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 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

You look for a stock that has made a run and then retraced to a moving average.

Select a lookback period N, for example N = 20.


(1) "Made a run":

The stock must have made a new high during the last 20 days. Select the NewHigh/NewLow indicator, set it to a period of 20 and check the condition for the last 20 days. Maybe you need to modify the indicator in such a way that it comes with a DataSeries which holds the value 1, if the aggregate conditioin is true, and which holds the value 0 otherwise.

(2) "Pull back to the MA":

You only want to get alerted for the first bar that touches the MA. Therefore you need to look out for a bar with

-> the low smaller or equal to the current value of the MA
-> the low of the prior bar greater than the prior value of the MA (not higher than the current low!)


Reply With Quote




Last Updated on September 9, 2015


© 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