I have added a filter (long term ) to the Rules. strategy BUYs when 50 period is above 50 line and there is divergence on the short term
short term period 5
long term period 50
stopLoss is 8% --- if setting is enabled
50 is above 50 line
short term is showing divergence
Add to existing
if already in position, BUY when shorTermRSI is crossing above 20
when longTermRSI reaches 60,65, 70 and 75 level , take partial profits .
(not when crossing down --- This may affect on profits , because when price goes down , it goes very fast )
when longTermRSI is crossing down 30
OR stopLoss value hits
Note: When I tested this with GOOGL stock , I have got excellent results ... any experts there , please check everything is good with scripting ...
ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.
and you were without any operation from 2018 to 2020 in de 1d chart, if you can live on savings or work for 2 years :) it would be fine.
My conclusion is that if you can identify a long-term up trend, it would be good to apply, but once it becomes bearish, stop using the strategy, of course it is difficult to predict that .
That's the reason stop loss need to be in place ... You can check it in settings window .. with that stop loss in place ...
Coming to the capital you can change the numbers in settings
With above settings changed , If you are not getting better results ... simply skip it...