dimanche 9 janvier 2022

Pattern / Candle Stick formation in Pine Script

Good evening, how can I recognize this candles (see picture), regardless of the scaling.

Large body and a long thorn upwards and partly downwards. In contrast to the usual candles, the total length is very large.

enter image description here

// but is not independent of the scaling and it finds to many small candles    
close > open and (high - close) / (0.001 + high - low) > 0.4      //upper area
close > open and  ((high - close) / (0.001 + high - low)) > 0.3   //lower area

Aucun commentaire:

Enregistrer un commentaire