Order Point
- 지표
- 버전: 1.0
Order Point P/L is a lightweight chart indicator that shows the live result of every open position directly on the chart, together with a compact account panel and a candle close countdown.
### Features
**Position labels**
- A label is drawn at the open price of each position showing side, volume, distance in points and net profit in USD.
- Net profit includes swap and commission.
- Label color changes for profit, loss and break-even.
- Optional horizontal line at each open price.
- Option to show only positions of the current symbol.
**Account panel (top-right corner)**
- START BALANCE – balance at the beginning of the trading day.
- TODAY P/L – realized profit of today plus floating profit of all open positions.
- CURRENT EQUITY – live account equity.
- DAILY DD LIMIT – start balance minus a user-defined amount. Turns red when equity reaches the limit.
**Candle close timer**
- Countdown to the close of the current candle, placed right next to the current bar at the current price.
- MM:SS on minute timeframes, HH:MM:SS on H1/H4/D1, days + time on W1/MN1.
- Uses trade server time, so the countdown keeps running even when no ticks arrive.
- Separate font, size, color and offset settings.
### Performance
- Updates on a timer (default 1 second) instead of every tick.
- Trade history is read once per update cycle and cached; it is refreshed immediately when a position is opened or closed.
- Nothing heavy runs during initialization, so the chart loads normally. Works smoothly on MetaTrader 5 for macOS.
### Inputs
| Input | Description |
|---|---|
| Show_Only_Current_Symbol | Show labels only for positions of the chart symbol |
| Font_Size | Font size of position labels |
| X_Offset_Bars | Horizontal distance of position labels from the current bar |
| Profit_Color / Loss_Color / Neutral_Color | Colors for profit, loss and neutral values |
| Show_Open_Line | Draw a horizontal line at each open price |
| Open_Line_Color / Line_Style / Line_Width | Open price line appearance |
| Show_Total_PL | Show the account panel |
| Total_PL_X_Distance / Total_PL_Y_Distance | Panel position |
| Total_PL_Font_Size | Panel font size |
| Show_Candle_Timer | Show the candle close countdown |
| Candle_Timer_Font | Font name of the timer |
| Candle_Timer_Font_Size | Font size of the timer |
| Candle_Timer_Color | Timer color |
| Candle_Timer_Offset_Bars | Distance of the timer from the current bar |
| Update_Interval_MS | Refresh interval in milliseconds |
| History_Refresh_Sec | How often trade history is re-read |
| Start_Balance_Deduction | Daily drawdown amount in account currency |
