Closebutton to remove the indicator from the chart.
Main tabswitch — it is currently turned on.
Risk tabswitch — click it to see the current and potential risk profile. The Risk tab interface is explained below.
Margin tabswitch — click it to see everything related to required and free margin. The Margin tab interface is explained below.
Swaps tabswitch — click it to see the details on the swaps for the current trading instrument. The Swaps tab interface is explained below.
Script tabswitch — click it to see controls for the PSC-Trader script. The Script tab interface is explained below.
Long/Shortswitch — enables you to quickly switch between long and short trade calculation. The trade direction can also be switched by pressing theTabkey on your keyboard.
Entryinput — grayed out when Instant order is used, can be used enter entry level when Pending order is set.
Stop-loss buttonwill set stop-loss level to a given default value. Visible only if a non-zero default stop-loss is set viaSLinput parameter.
Stop-lossinput.
Take-profit buttonallows quick setting of TP to the multiple of the current SL value or to peg the TP level to the SL value.
Take-profit multiplier, if set via input parameters, applies to the current SL value when Take-profit button is pressed.
Take-profitinput.
Multiple take-profitinput fields. Visible ifScriptTakeProfitsNumberinput parameter is set to a value greater than 1.
Stop priceinput (for stop limit orders).
ATR Period— setting to use with the ATR-based SL/TP. ATR options are visible only ifShowATROptionsinput parameter is set totrue.
ATR— current value of ATR with a given period. ATR options are visible only ifShowATROptionsinput parameter is set totrue.
SL multiplier— multiplier for ATR-based stop-loss. The ATR value is multiplied by this value to produce the actual stop-loss distance. Set to zero to disable ATR-based stop-loss. ATR options are visible only ifShowATROptionsinput parameter is set totrue.
TP multiplier— multiplier for ATR-based take-profit. The ATR value is multiplied by this value to produce the actual take-profit distance. Set to zero to disable ATR-based take-profit. ATR options are visible only ifShowATROptionsinput parameter is set totrue.
ATR timeframe— timeframe to calculate ATR on. Click the button to switch between timeframes. ATR options are visible only ifShowATROptionsinput parameter is set totrue.
Order typebutton to switch between Instant, Pending, and Stop Limit.
Hide/show linesbutton to quickly switch the display of the Entry, Take-profit, and Stop-loss lines on the chart.
Commission size per lot(one-way) — set it if your broker charges commission and you want it included into risk size when calculating position size.
Account size buttonswitches between balance, equity, and "Balance - CPR"; the latter being account balance less the current portfolio risk as calculated on the Risk tab.
Account sizein account currency units.
Account size asterisksignals that either custom account balance or additional funds are set via input parameters; the funds were added to the account size value.
Quick risk button #1— first button to quickly set percentage risk value.
Quick risk button #2— second button to quickly set percentage risk value.
Risk input— you can set your tolerated risk in percentage of the account size. If you set your risk via Risk money input, percentage risk will be calculated based on that input.
Risk money input— you can set your tolerated risk in account currency units. If you set your risk via Risk percentage input, money risk will be calculated based on that input.
Risk (result)— percentage risk calculated based on the actual position size allowed in your broker's platform.
Risk money (result)— money risk calculated based on the actual position size allowed in your broker's platform.
Rewardin account currency is based on the position size calculated without taking into account platform's restrictions.
Reward (result)— reward in account currency is based on the actual position size allowed in your broker's platform.
Reward/risk (input)— input reward divided by input risk.
Reward/risk ratio (result)— reward result divided by risk result.
Position size— actual position size calculation output. You can modify it yourself if you want to calculate your risk based on position size.
Point valueper calculated position size.
Max PSbutton to set the position size to the maximum value possible based on the account's free margin. The button only appears if theShowMaxPSButtoninput parameter is set totrue.
Direction shows whether the current trade is long (▲) or short (▼).
Risk:
The risk tab can help you assess current and potential risk and reward profile. Using simple algorithm, the indicator calculates the risk of the currently open positions and pending orders based on their stop-loss levels (or lack thereof). It also assesses the potential reward of already opened positions and the position calculated by the indicator based on take-profit levels. The employed risk analysis method does not account for complex situations involving hedged orders and positions. You can control the Risk tab using two checkboxes and see the calculation results in ten output fields:
Count pending orders— if checked, the indicator will also attempt to calculate the risk of pending orders in addition to currently open positions.
Ignore orders without stop-loss/take-profit— if checked, will simply ignore all risk coming from orders and positions without SL/TP value set. Can be useful if you prefer not to set stop-loss/take-profit for some of your trades.
Ignore orders in other symbols— if checked, will only calculate risk and reward for the current chart's symbol, ignoring all positions and orders in other symbols.
Current portfolio risk (currency)— shows the risk in currency units without the position that is currently being calculated by this indicator.
Potential portfolio risk (currency)— shows the risk in currency units as if you have already opened a position that is currently calculated by this indicator.
Current portfolio risk (%)— same asCurrent portfolio risk (currency)but in percentage to the account size.
Potential portfolio risk (%)— same asPotential portfolio risk (currency)but in percentage to the account size.
Current portfolio reward (currency)— shows the reward in currency units without the position that is currently being calculated by this indicator.
Potential portfolio reward (currency)— shows the reward in currency units as if you have already opened a position that is currently calculated by this indicator.
Current portfolio reward (%)— same asCurrent portfolio reward (currency)but in percentage to the account size.
Potential portfolio reward (%)— same asPotential portfolio reward (currency)but in percentage to the account size.
Current portfolio lots— the total size of the currently open positions in lots.
Potential portfolio lots— the total size in lots of the open positions plus the one, which is currently being calculated by this indicator.
Margin tab
The margin tab provides information about the calculated position's margin, amount of used and available margin after opening the calculated position, and the biggest possible position size considering the current available margin and leverage. The tab has only one input and five output fields:
Position marginshows the margin that will be used for the calculated position. Negative value means that the future used margin will be lower than the current due to lower requirement for margin of the hedged positions.
Future used marginis calculated based on the current used margin andposition margin.
Future free marginshows how much free margin you will have left after opening the calculated position.
Custom leverageinput lets you set your own leverage for all the margin calculations done by this indicator.
Default leverageshows the account's actual leverage for your reference.
Symbol leverageshows the actual leverage for the current trading instrument. It is calculated based on required margin and contract size/value. It may be inaccurate in some cases.
Maximum position size by margindisplays the biggest trade you can take with your currently available free margin and leverage.
Swaps tab
The swaps tab displays details on the overnight interest payments associated with the current trading instrument and calculated position size. It shows swaps type, nominal swaps, daily, yearly, per lot, per calculated position size, and both for long and short positions:
Typeshows the type of swaps used by the broker for the current trading instrument. Can be one of several kinds: points, base currency, interest, account currency, margin currency, reopening.
Triple swapshows the day of week when triple swaps are charged/paid (to account for Saturday and Sunday).
Nominal swaps (Long)— nominal swaps paid or charged by a broker for long positions.
Nominal swaps (Short)— nominal swaps paid or charged by a broker for short positions.
Daily swap per lot (Long)— daily swap paid or charged by a broker for long positions in account currency per lot.
Daily swap per lot (Short)— daily swap paid or charged by a broker for short positions in account currency per lot.
Daily swap per PS (Long)— daily swap paid or charged by a broker for long positions in account currency for calculated position size (on the Main tab).
Daily swap per PS (Short)— daily swap paid or charged by a broker for short positions in account currency for calculated position size (on the Main tab).
Yearly swap per lot (Long)— swap paid or charged by a broker for long positions in account currency per lot. Calculated for a period of 360 days.
Yearly swap per lot (Short)— swap paid or charged by a broker for short positions in account currency per lot. Calculated for a period of 360 days.
Yearly swap per PS (Long)— swap paid or charged by a broker for long positions in account currency for calculated position size (on the Main tab). Calculated for a period of 360 days.
Yearly swap per PS (Short)— swap paid or charged by a broker for short positions in account currency for calculated position size (on the Main tab). Calculated for a period of 360 days.
Position sizeduplicates the display of the position size calculated by the indicator on the Main tab.
Trader:
Magic number— Magic number that will be assigned to the orders and positions opened using the script.
Order commentary— commentary for orders and positions opened using the script.
Disable trading when lines are hidden— a simple checkbox to prevent script from opening a position when you have chosen to hide the lines via the Main tab.
Max slippage — maximum tolerable slippage value (in points) that will be used in trading functions of the script.
Max spread— the script will not trade if current spread is wider than the value given here.
Max Entry/SL distance— the script will not trade if distance between the Entry level and Stop-Loss level becomes greater than this value.
Min Entry/SL distance— the script will not trade if distance between the Entry level and Stop-Loss level becomes less than this value.
Max position size— if calculated position size exceeds this value (in lots), the script will only open a trade of the size given in this field.
Subtract open positions volume— if checked, the script will calculate the total open volume for a given trading instrument and will subtract it from the calculated position size, so the resulting volume after a new trade opens is equal to the calculated position size.
Subtract pending orders volume— if checked, the script will calculate the total volume of all pending orders on a given trading instrument and will subtract it from the calculated position size, so the resulting volume after a new trade opens is equal to the calculated position size.
Do not apply stop-loss— if checked, the script will open a trade without stop-loss. This can be useful if you use a separate expert advisor or some other means to trigger your stop-loss.
Do not apply take-profit— if checked, the script will open a trade without take-profit. This can be useful if you use a separate expert advisor or some other means to trigger your take-profit.
Ask for confirmation— if checked, the script will ask for confirmation before trading.
Auto-suffix— if checked, the script will append a unique suffix to the order commentary set up above. This can be particularly useful when you want to set the same commentary for all parts of a multi-TP trade, but you want the next multi-TP trade to use a different commentary.
Risk:
The risk tab can help you assess current and potential risk and reward profile. Using simple algorithm, the indicator calculates the risk of the currently open positions and pending orders based on their stop-loss levels (or lack thereof). It also assesses the potential reward of already opened positions and the position calculated by the indicator based on take-profit levels. The employed risk analysis method does not account for complex situations involving hedged orders and positions. You can control the Risk tab using two checkboxes and see the calculation results in ten output fields:
Margin tab
The margin tab provides information about the calculated position's margin, amount of used and available margin after opening the calculated position, and the biggest possible position size considering the current available margin and leverage. The tab has only one input and five output fields:
Swaps tab
The swaps tab displays details on the overnight interest payments associated with the current trading instrument and calculated position size. It shows swaps type, nominal swaps, daily, yearly, per lot, per calculated position size, and both for long and short positions:
Trader: