Trend indicator. It adapts to the history, unfortunately redraws.
extern int RISK=4; extern int AllBars=250;
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8482
The indicator displays in a separate subwindow of the chart the current symbol, Bid/Ask prices, the current swap, the expected deposit for long/short position as well as the floating spread for the symbol and the remaining time until the candle completion of the current timeframe... Let's seePivotCustomTime
It displays the current location in time relative to the beginning and end of the current bar. It additionally displays the proportion of time elapsed from the beginning of the bar as a percentage of the duration of the whole bar. It is useful for monitoring the moment of making the trading decisions.