10/16/2023 0 Comments Advanced get parabolicSAR = min(min(low, low), SAR + acc * (extreme - SAR)) ĭef transitionBull = state = state.short and state = state.long ĭef transitionBear = state = state.long and state = state.short (c) 2008-2019Īssert(accelerationFactor > 0, "'acceleration factor' must be positive: " + accelerationFactor) Īssert(accelerationLimit >= accelerationFactor, "'acceleration limit' (" + accelerationLimit + ") must be greater than or equal to 'acceleration factor' (" + accelerationFactor + ")") Īcc = min(acc + accelerationFactor, accelerationLimit) # Scans for a PSAR state transition from bullish to bearish or from bearish to bullish
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |