Quick Panel Pro Hedging
- Ziheng Zhuang
- Version: 5.30
- Updated: 2 June 2023
- Activations: 5
This Expert Advisor is a professional trading tool, which integrates a flexible risk control and 6 groups of trading panel.
- Calculating lots is easy and fast, when you move the StopLine, the calculation is processed at the same time.
- Most trading operations can be quickly made by clicking the button on these panels.
- Changing panels is quick just by clicking the green button.
- This EA does not support the backtest on strategy tester.
- Show the average price on a yellow-background panel and draw the lines of the avarage price. Click here
The panel includes two columns. The left column is about sell and the right is about buy.
- sell: open a sell order.
- first: close the first sell order. The first refers to Open Time.
- last: close the last sell order. The last refers to Open Time.
- all+: close sell orders in profit.
- all-: close sell orders in loss.
- max+: close the sell order with the maximum profit.
- max-: close the sell order with the maximum loss.
- min+: close the sell order with the minimum profit.
- min-: close the sell order with the minimum loss.
- All: close all sell orders.
- buy: open a buy order.
- first: close the first buy order. The first refers to Open Time.
- last: close the last buy order. The last refers to Open Time.
- all+: close buy orders in profits.
- all-: close buy orders in loss.
- max+:close the buy order with the maximum profit.
- max-: close the buy order with the maximum loss.
- min+:close the buy order with the minimum profit.
- min-: close the buy order with the minimum loss.
- All: close all buy orders.
- Magic Number : Magic Number of orders opened by this EA.
- Max Buy Orders: The maximum number of buy orders. If it is 0, there will no limitation.
- Max Sell Orders: The maximum number of sell orders. If it is 0, there will no limitation.
- Reward Risk Ratio: This is ratio of TakeProfit and StopLoss.
- Lots Mode: This is a three-option input. The option is Fixed_Lots, Risk_Money or Risk_Percent.
- Fixed Lots: If you select Fixed_Lots as LotsMode, the EA will trade with the fixed lots.
- Risk Money: If you select Risk_Money as LotsMode, the EA will calculate lots by the amount of risk money. RiskMoney means the amount of money that one order would lose.
- Risk Percent: If you select Risk_Percent as LotsMode, the EA will calculate lots by the percent of free margin.
- Panel ShiftX: the horizontal space from the right lower corner.
- Panel ShiftY: the vertical space from the right lower corner.
- Line Width: the line width of StopLine.
- Line Color: the line color of StopLine.
- Lots Label FontSize: the font size of Lots Label.
- Lots Label Color: the text color on Lots Label.
How Is Lots Determined?
Lots is determined by risk money, stop loss (pips) and the value of pips.
The risk money is the amount of money that one order would lose.
Stop loss is the distance between StopLine and market price.
Let's say, you select Risk_Money as LotsMode, and set Risk_Money to 50 dollars, the risk money is 50 and move the StopLine to 100 pips from the market price on EURUSD chart. The value of pips for EURUSD is 10, so lots is calculated as below:
- lots = 50/(100*10) = 0.05.
In this case, the loss for every order is 50 dollars and it is relatively fixed.
Why is it not absolutely fixed? This is because cross rates have not the fixed pips value, such as EURGBP, EURAUD, AUDNZD.
If you select Risk_Percent and set RiskPercent to 3, let's suppose the free margin is 1000 dollars, the calculation will be as below:
- risk money = 1000 *3% = 30
- lots = 30/(100*10) = 0.03.
In this case, the loss for every order is not fixed, it will vary as the free margin.
Compare with another version Quick Panel (Link):
- Quick Panel Pro: each order has SL/TP, and TP is equal to SL * Reward Risk Ratio.
- Quick Panel: each order 's SL/TP depends on the input StopLossInPips/TakeProfitInPips, and TP is independent of SL.