NexusFi: Find Your Edge


Home Menu

 





Help with scanner


Discussion in NinjaTrader

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




 
Search this Thread

Help with scanner

(login for full post details)
  #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?
ZombieSqueeze
Platforms and Indicators
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Request for MACD with option to use different MAs for fa …
NinjaTrader
Looking for an MQL4 MetaTrader programmer/coder
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Daytrading ES & NQ
32 thanks
Battlestations: Show us your trading desks!
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Retail Trading As An Industry
25 thanks

(login for full post details)
  #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,099

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


© 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