Codes

Spectar Prop Challenge Dashboard for MetaTrader 5

Read-only panel with the numbers a prop-style challenge is judged on: today's result from server midnight (closed plus floating), room to your daily loss limit, static or trailing overall floor, profit target and trading days

Spectar Lot Size From Stop and Daily Loss Room for MetaTrader 5

A read-only script that works out a lot size from the cash you accept to lose and the stop distance, and shows how many such losses fit inside your own daily loss limit. Uses the symbol tick value, so it works for gold, FX and indices

Forum

Daily loss limit from server midnight, including floating P/L: how do you measure it in an EA?

Many prop-style rules measure the daily loss limit from midnight on the broker's server clock and include floating P/L (equity), not only closed trades. Below is the approach we use in an EA to get the day's starting balance and the running result for the day, closed plus open, without storing