Hello. This script aims to take into account mutable variable Pivot Points' periods. While doing this, it takes the period between 2 signals that I use in the script: And these periods in my Pivot HL function integrated into len length (Mutable variables) : The cornerstone of the script is these facts. Pivot can be optimized by playing with reversal...
Example how to limit the number of round trips per day. If entry condition is never met logic will force a round trip at end of day. Set chart to a timeframe that is lower than 1 Day period. NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and...
The relative strength index function is defined. Now you can easily use length with mutable variables !!