Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week!
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (23) |
Author: anchak   😊 😞
Number: of 3962 
Subject: Re: Technical Indicators & Market Timing
Date: 02/08/2023 11:49 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 4
Mark... That logic does work for the Screener but not for the Universe/Signal ....

h1::NHNLRatio:gt1:CountOfHighs:imports(0,CountOfHighs,0,0):CountOfLows:imports(1,CountOfLows,0,0):WeightedCountOfHighs:sgwsum(CountOfHighs,0,9,8,7,6,5,4,3,2,1):WeightedCountOfLows:sgwsum(CountOfLows,0,9,8,7,6,5,4,3,2,1):NHNLRatio:ratio(WeightedCountOfHighs,WeightedCountOfLows){dspo:al252:excd.a:0et3:styp.a:0et10!11:ratio(gprc(0),hgprc(1,251))gt1:CountOfHighs:et-1:CountOfHighs:sum(1,1,step4)}{dspo:al252:excd.a:0et3:styp.a:0et10!11:ratio(gprc(0),lgprc(1,251))lt1:CountOfLows:et-1:CountOfLows:sum(1,1,step4)}{U:{!IXIC}}

Its this line that needs to be changed - ie U: {!IXIC} --- this by default picks up ALL Nasdaq listed stocks --
somehow it needs to be an AND condition ie both !IXIC and styp.a != 14!15!17!23!44!45!73!74!75!76!77

something like that - I just am not familiar how to pass that onto GTR1

Hope someone can help.

Essentially then the Daily Highs and Lows on the Daq are being computed on actual Company Stocks and so is the Ratio.

How do we get the # of Highs and # of Lows reported separately?

TIA!
Post New | Post Reply | Report Post | Recommend It!
Print the post
Unthreaded | Threaded | Whole Thread (23) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds