The strategy (at present) only does long entries. It enters long when the fastTEMA crosses up over the (slow) eFAMA. It uses a traditional exit when the fastTEMA crosses below the slowTEMA. I have tested this on several tokens on 1hr charts using a fastTEMA length of 13. Play with it on different charts and different lengths to see how it works for you.
- Added ability to select entry and exit signal. These are added using "OR" logic.
- Added trailing stoploss based on percent, ATR, or smoothed ATR (ema).
- Added code to send signals to 3commas. If you don't want or need this, just ignore it and nothing will happen.
Most of these settings need to be adjusted based on your instrument, timeframe, and risk-management strategy. You can get a sense for the effects using backtesting, but remember that backtesting is a simulation! I recommend you let it run in realtime to see results, or even better connect it to a paper trading account (like 3commas) to track the results.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.