TradingView
CheatCode1
23 אוג׳ 2022 17:45

ALMA/EMA/SRSI Strategy + Indicator 

BTCUSDT SPOTBybit

תיאור

Back with another great high hit rate strategy!!

Disclaimer* This strategy was sampled using source code written by @ClassicScott , as referred to in the script, there is a clear line where the source code was scripted by myself.


This Strategy consists of three key factors, the ALMA, EMA crossover, and a Stochastic Rsi

ALMA: The Alma is the step line shown, turning green and red at select times. This average value gives general oversight of the macro movement of price action. and this particular one was coded by Mr.ClassicScott.

EMA crossover: At the input screen you are given an option of the fast and slow ema's. The default is solely for the hit rate and correlation to the Alma of this strategy. The arrows you see depicted on the chart are the crossover events happening.

Stochastic Rsi: The Stochastic Rsi is a stochastic value, using data sampled from the rsi. The use of this indicator in my strategy is to prevent entries when too overbought and oversold, as well as closures and vice versa, to prevent holding bags either way.

Fixed % TP: In the input screen you are given a take profit and stop loss percentage, for good R/R the hit rate will take a notch down, but with no R/R it will be near perfect.

How to use this:
Add it to your chart to get the strategy inputs. (The strategy is really only useful on a 15min TF. However the indicator within it can be used on anything at anytime!)
Watch the yellow and aqua moving averages, these are your ema's and crossover's will trigger signals based on your integer inputs.
Find Correlation between other leading indicators, as well as crossover's down/up and a red/green alma.
DO NOT use the arrows as buy/sell signals. These are simply to show ema's are crossing under or over. Momentum indicator's paired with this can be useful to determine if it could be a buy signal or sell signal.

Cheat Code's Notes:
Almost at 1000 boosts!!! I appreciate the support from everyone and I will keep trying my best to deliver quality strategies for the people.

-Cheat Code
BYBIT:BTCUSDT

הערות שחרור

UPDATE: FIXED. Flipped the crossover signals by error.
תגובות
HolderForex
Im trying to recreate this in python, but my ALMA looks different than yours even though im using the same period, offset and sigma. Im thinking it might be those step variables. Do you mind explaing what step means in the input of those 2 variables inputs? (sigma and offset)
HolderForex
CheatCode1
@HolderForex, Hey man thanks for checking it out. The step argument has no direct effect on the alma. You could remove it and it would give the same plot. The step argument simply allows you to skip over certain numbers on the input screen. For example, the sigma step is '.5', on the input screen where you see sigma, if you scroll up you would see '4.5,5,5.5,6'.. 'Stepping over' every number in between those ones.
CheatCode1
@HolderForex, For the python conversion, I am not sure how I can help. Pine is a special language derived from js. There may be completely different built-in backend calculations for functions used to create this indicator.
pork_cutlet
We are conducting automatic sales with a 15-minute chart from today. Looking at PineScript, what a great code!
CheatCode1
@pork_cutlet, Let me know how it goes. Thanks for the support!
michyau
I am a newbie of Pine Script. Thank you so much for sharing us such a wonderful strategy. However, I cannot perform backtest at "Strategy Tester", only "No data" is shown in the tabs of "Overview" and "List of Trades" respectively. Please give a hand on this. Is there any problem with the configurations of my TradingView? Thanks in advance.
CheatCode1
@michyau, Thanks for checking it out! Depending on what time frame you are sampling there may not be any entries available. If you have it on a higher tf (daily+) it may not be able to meet entry/exit conditions. If there is no data it may have entered a trade a year/2 ago and is simply just waiting to meet the exit conditions. Since this strategy is meant for lower time frames it is harder to meet the criteria for position changes on higher tf's. Feel free to pm me if you need anymore help.
dansus021
i just found it, what is best slow and fast ema configuration, i found fast 9 and slow 25 give you 100% net profit in 1 hour char btc usdt but only 66% percent profitable
CheatCode1
@dansus021, I look for three factors before manually backtesting strategies. 1. The % profit 2. 30-50+ trades. 3. Net profit. The best settings I have found (could have more that I haven't found yet) is slow 49 and fast 9.
עוד