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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?