noski1

"NoSKi Hammer/Star /w angle of ema Backtester %

Applied the angle of ema filter to stars formed in an uptrend, and hammers in a downtrend to try to pick good trading entries

Uses the average angle of the ema over the last 20 bars
(Please note: the angle calculation default value is calibrated for BTCUSD . There is no way currently to code it to be used across multiple pairs. The price to bar ratio has to be adjusted for other trading pairs. Please research price to bar ratio if unfamiliar). I have used a rough calculation so it can be used on other charts but won't be 100% accurate

Strategy uses % take profit and stop loss settings, and only enters one trade at a time (wont show entry if already in a position).

Separate ATR settings for filtering the size of hammer and star candles. (can filter out candles which are too large or small)

Red background colour is for when ema is at or below the set -ve angle slope. Green is for positive angle. Default is set at -45 and 45 degrees.

Big thankyou to ZenAndTheArtOfTrading for hammer and star coding, and Cosmic Angle - by cosmic_indicators for calculating the angle of emas.
Code was borrowed and used directly from these scripts.
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?