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 (6) |
Author: anchak   😊 😞
Number: of 3957 
Subject: Re: Recent BCC Signals 2025-03-29
Date: 04/01/2025 7:48 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 6
Paul : As this code snippet shows

lf-1lp-1h1::SMADiff:gt0:SMADiff:linear(1,sma(1,200),-1,sma(11,200)){U:{!GSPC}}

Its the Slope of the 200SMA.....As defined as

Universe : SP500 (^GSPC is the Yahoo! ticker)

the function SMADiff - utilizes the linear GTR1 call -which is sum ( yeah its convoluted , hence GTR1 remains elusive mystery to a lot)
and the -1 in the middle is the additive - being negative it does

SMA(1,200) - SMA(11,200) and then check >0 (gt0) -so a simple check of whether the SMA difference is positive

if not Bear

Makes sense?
Post New | Post Reply | Report Post | Recommend It!
Print the post
Unthreaded | Threaded | Whole Thread (6) |


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