Have a specific set of rules I follow in forex and would like to code it down with pine script in trading view while create an indicator for the charts. First step Rule 1 of attachment.
SHORT TRADE SETUP
Rule 1:
- needs to form at least 2 higher high candles
- points need a minimum of 10 candles in between
LONG TRADE SETUP
Rule 1:
- needs to form at least 2 lower low candles
- points need a minimum of 10 candles in between
I develop according to your rules in turn.
Step by [login to view URL] TRADE SETUP
Rule 1:
- needs to form at least 2 higher high candles
- points need a minimum of 10 candles in between
LONG TRADE SETUP
Rule 1:
- needs to form at least 2 lower low candles
- points need a minimum of 10 candles in between
I develop according to your rules in turn.
Step by step.