This is an old and incomplete script that is being pulled up and dusted off as per request.
The sole purpose of this script was to provide code snippets allowing one to easily convert their own script/strategy to include incremental order sizes. More control over your pyramiding orders.
**It may repaint, and was not intended for trading but more as an attempt...
The one of the most important indicators every trader must use is time :)
Sometimes it has a lag due to the script recalculation per each candle tick (not every second)