⭐ mesagio Posted October 17, 2021 Report Share Posted October 17, 2021 How woluld you script - if last PivotHigh is recent than PivotLow in the last X days e.g. 7 Days - Short Term Trend - UP or if the PivotLow comes after the PivotHigh in the last X days - Short Term Trend - DOWN i can determine with pivotHigh and Low the Piots, but how can i determine which one is the last ? Quote Link to comment Share on other sites More sharing options...
jharris Posted October 19, 2021 Report Share Posted October 19, 2021 pivothigh(high,10,10) is more recent: highestbars(high,11) < lowestbars(low,11) Quote Link to comment Share on other sites More sharing options...
⭐ mesagio Posted October 19, 2021 Author Report Share Posted October 19, 2021 thx a lot ! When you determine the trend for the last e.g 14 days. What parameters do you take for the pivothigh and low ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.