Price action entry

 

Dear all,

I'm looking to code the following entry criteria:

  • Define the Swing High correctly and its validity.
  • Find the first Break High within the Swing High's validity.
  • Confirm continuation of counting (Break High) by Break Low.
  • If the second Break High appears plot an indicator arrow.


Could you guide me on where to start looking. I'm a fairly novice coder.<Deleted>

Reason: