OPEN-SOURCE SCRIPT

Three EMA Scalp Signals by kmderham

已更新
This script looks for a set up condition where 5 consecutive candles have broken away from the fast EMA (set to 8 by default) followed by a "trigger" candle that crosses back over the fast EMA but not the medium EMA (set to 13 by default). It then determines the entry point based on the bar high or low (not tail or wick) depending on direction of the trend. Once the entry point is crossed, we can enter the position. Win or loss is determined whether the lower or upper levels are crossed (as per trend). After the position is won or lost and if the entry level is re-crossed before a new set up condition is found then a new entry signal is given.

Please note that this should really be used in conjunction with a higher timeframe "Anchor" chart with a fast and a slow EMA so setups and positions should should correspond to the trend of the higher timeframe chart. This was designed for a 5 minute timeframe and a 60 minute anchor chart.
版本注释
Bug Fix: Updated user input fields to set ATR multipliers to floating point numbers
版本注释
Fixed a bug that showed a re-entry position win even though entry level had not been crossed
版本注释
Another re-entry signal fix.
版本注释
Set to 1:1 risk-reward ratio by default in the settings but user can adjust accordingly. Also finally fixed the entry level bug - see the garbled comments in the code if you want to know more. Enjoy!
Exponential Moving Average (EMA)exponentialmovingaveragesscalpscalpingsignalstrendfollowing

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明