♥ 0 |
Hello Pete, I have made a scanner in 4 hour aggregation based of heiken-aishi candles. To see if my scan works , I have defined an “alert” based of my study. The definition I used in heiken-aishi is as follows, ” def haClose_4h = (open(period=aggregationPeriod.FOUR_HOURS) + high(period=aggregationPeriod.FOUR_HOURS) + low(period=aggregationPeriod.FOUR_HOURS) + close(period=aggregationPeriod.FOUR_HOURS))/4 ;” the signal that I intend to get is , “ plot signal = haClose_4h[0]>1.03*haClose_4h[1] ; signal.setpaintingStrategy(paintingStrategy.BOOLEAN_ARROW_UP); What I saw today (11/22/22) for a stock tickr “FENC” was it did not consider the 5:00 am candle in the 4 hour chart for running the condition at 9:30 am. I have attached the 4 hr and 1 min chart (with the alert) for reference. Please help as where did I do wrong which caused not to capture the 5:00 am candle. Thank you
Marked as spam
|
Please log in to post questions.