This is the code for your stock screener to find doji candlestick piercing pivots points (bearish signals when the high crosses one of the pivot points and bullish ones when it is the low of the candle).
// --- settings
DojiSize=20//x% percent of body size compared to the complete range of the candlestick
what amendments would we need to change a screener into an indicator? i am trying to identify a bullish signal as +1 (hammer, dragonfly doji, inverted hammer) and bearish signal as -1 (hanging man, gravestone doji)
Warning: Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced clients who have sufficient financial means to bear such risk. The articles, codes and content on this website only contain general information. They are not personal or investment advice nor a solicitation to buy or sell any financial instrument. Each investor must make their own judgement about the appropriateness of trading a financial instrument to their own financial, fiscal and legal situation.