仕事が完了した
指定
I need a risk calculator tool including all its source code that I can extend later when need be in both MQL4 and MQL5.
-
Table with 2 tabs
-
Color, width, height adjustable
-
minimize/maximize/Close buttons in the table header
-
Tab1:
-
Text box with label e.g. label: risk% with default value of 1 in the text box
-
Ratio text box with default value of 2 meaning profit target is 2 times the risk - this should affect how much gap will be between the stop loss/target lines
-
Button with text of “show lines” once clicked it should show draggable lines for stop loss/target and entry
-
Lines:
-
On the stop loss/profit line it should write a label for
-
How many pips
-
how much money is risked/gained
-
what % is the risk/profit
-
On the entry line, it should show the lot size
-
The colors of the lines and thickness should be adjustable
-
All, size, width and color be customizable for textbox, button, label and lines
-
We also need a button to execute the trade, the button should be on the entry line so depending on where the entry line is dragged to and where the stop loss is it should enter and calculate the appropriate order type (buy limit, buy stop, sell limit, sell stop)
-
Tab2:
-
Drop down list to load list of running orders, on select, it should show in a label which order is selected
-
Rounded border inside which the drop down list should be placed
-
Line separator
-
A Breakeven button with an icon in it so when it’s clicked, it should move the stop loss to break even for the selected order
-
Delete order button for the selected order (whether pending or running)
-
and Delete All button which deletes and closes all orders
-
Delete Order button should also be on the Entry line so it can be easily deleted
A line below the table that shows our website address also and a place in the header for our company logo (small icon).
It needs to work in all the markets; forex/indices/commodities/stock market
Anything graphical that makes it look nicer is welcome.
You can get ideas from https://www.mql5.com/en/market/product/30750 and https://www.youtube.com/watch?v=38Ag9ebEqn0 but I need only the above features for now.