Candle greater than previous 3 bar

A

alphabeta

Member
Is there any way to get alert when candle is greater than previous 3 candle thank you!!
 
BenTen

BenTen

Administrative
Staff
VIP
Close of current candle is greater than the previous 3 candles?

You can actually use the Candle Pattern in ThinkorSwim to build your own concept and get the code from there as well.

Here is an example:

 
U

usahu

New member
I am looking for the code which creates a scan comparing current candle and previous candle.
Current candle open less than equal to previous candle close and current candle close greater than current candle open.
Any help?

Thanks
 
U

usahu

New member
@MerryDay thanks for the code.
If I am not wrong the second statement need to be defined as close > open. As my statement is current close grater than current open.
 

Similar threads

Top