Scanning for 3 day pull back and a user defined candle


Category:
0
0

 

First and foremost  thank you for this website.  Luckily I found it while searching for TOS scan help.   #2.  I AM NOT A CODER…as I am sure you can tell from my code below!  Lol  Although the scan seems to work for everything except the user defined candle.  Please don’t band me for such poor code!!

I am trying to scan for strongly trending stock (probably use ADX for this) with a 3 day pull back with lower highs and lower lows.  If the last candle is my user defined Hammer I would like to plot an arrow under the candle.

 My definition of this candle is more classic than TOS and is defined as:  Body of candle is 1/3 or less of full candle range.  Body is in the top 1/3 of candle range.   

I would like for full candle range to be a long candle( maybe use ATR?)  

All help is greatly appreciated!

TIA  

Code attached

Marked as spam
Posted by (Questions: 2, Answers: 1)
Asked on May 19, 2020 1:32 pm
124 views
0
Private answer

Sorry, I hit my time limit and was not even able to get your code formatted so that it would work in a chart study. Can't do anything with this at all. In the future, do not include code in a PDF document. The destroy the text formatting and you cannot copy/past code from a PDF document and get it to work. When attaching code to your post you should save it to a plain text file.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on May 19, 2020 6:14 pm