Hi, im trying to code a proorder system that detects if the first candle of the day is a pin candle on a 5 min chart, my issue is that ‘perfect’ pin candles are rare so to make sure the system works, I was thinking of trying to create a system that detects if a candles wick is bigger than the body.
So my query is how can I write the code for a candle thats wick is bigger than the body of the candle? any help is welcome
Thank you
Do you have a pin candle code already? you can find some on the Library or in forums for sure. If you can find one, the body and the wick should be already coded, if you add a comparison between them, you’re ok.
no i dont, ill look in the library
ill take a look thank you