Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- length_AROON = input.int(25, minval=1, group = "AROON")
- //CALCULATIONS//
- upper = 100 * (ta.highestbars(high, length_AROON + 1) + length_AROON)/length_AROON
- lower = 100 * (ta.lowestbars(low, length_AROON + 1) + length_AROON)/length_AROON
- //TRADE CONDITIONS//
- AROON_LONG = upper > 94 and lower < 6
- AROON_SHORT = lower > 94 and upper < 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement