Mactheriverrat 3,154 posts msg #158308 - Ignore Mactheriverrat modified |
1/2/2022 1:20:22 PM
Here's a Strategy I came across recently from a person who has different strategies which he want people to subscribe to but this is one of his FREE ones. It's plain and simple and not full of a bunch of indicators and oscillators, which one could add if he/she wanted to.
https://automatedtradingstrategies.substack.com/p/automated-trading-strategy-1
[
/* Strategy #1 uses the Linear Regression Indicator (LinReg) and the Volume Weighted Moving Average (VWMA)
Enter Long - When LinReg crosses above VWMA.
Enter Short - When LinReg crosses below VWMA.
Use 14 as the period for both indicators.
LineRegres: 14
VMAmmRe: 14 */
market is not otcbb
market is not etf
volume is above 200000
show stocks where LRI(14) is above VMA(14)
draw LRI(14)
draw VMA(14)
chart-time is 5 months
add column Average Day Range(30)
/* Strategy1 is number of consecutive days LRI(14) above (+)/below(-) previous VMA(14) */
set{strategy1b,days( LRI(14) is above VMA(14) ,250)}
set{strategy1a,days( LRI(14) is below VMA(14) ,250)}
set{strategy1, strategy1a - strategy1b} and add column strategy1 {strategy1}
Set{cntst1,count( LRI(14) > VMA(14) ,1)}
draw cntst1
Set{cntst1b,count( LRI(14) < VMA(14) ,1)}
draw cntst1b
]
|