NexusFi: Find Your Edge


Home Menu

 





Help with scanner


Discussion in NinjaTrader

Updated
    1. trending_up 1,197 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

  #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?
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
 
  #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

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