Create buttons to open positions and move stops and fill a graphical table

指定

Hi, 

the job is in the title. 

please see the attached file before reading.

1 - In the first column, we have the margin percentages for all symbols, whether monthly, weekly, or daily with one digit : 17.2 % = 100 * ( Account balance / (Account balance - won/loss this month, week or day ) ) -1

2 - In the second column number of points (indices) or pips (pairs) won/loss monthly, weekly and daily for the current symbol on the chart.

3 - in the third column, like in the first column but only for the current symbol on the chart.

4 - in the last line, named "Direct", we have  the Risk / Reward of the current opened trade , the number of points/pips running, and the margin percentage . All for the current trade.

    Risk/Reward= OrderProfit / (     Abs ( OrderOpenPrice-Order virtual stoploss) + spread + commission )

For all these values, a red color if negative, green if positive, and white if = 0 

i wrote "virtual stop loss" because i often use stoploss below the STOP LEVEL, so please forget OrderStoploss() and use a virtual stop loss where position will close if Bid > or < "virtual stop loss".


i need a red line on the bottom of the chart, like on the capture. this red line will be abble to move by dragg and drop, to vsualize a stoploss.

So : 2 ways to buy / sell 

      * by choosing a stop loss level with the red line and clicking on the "Ligne" button. if the stop is below, it will buy, above it will sell, and virtual stop loss = red line level.

       on orders, red line will disapear, replaced by a stop loss drawn like stairs when we 'll move stop loss with buttons.

    * by clicking on "Achat" button or "Vente" button. in those cases, virtual stop loss will be placed up or under the hihgest/lowest of the last passed 3 candles + security. Same drawings for the stop loss, following candles.  Security is a double input in order to avoid double top/bottom.


in all cases, when on position, red line disapears, and appears again when OrdersTotal=0

"+1" "-1" "+5" & "-5" buttons are for increasing or decreasing the stop loss in points ( indices ) or pips ( pairs ).

"B.E." : Break even including spread

"X" : closing current position


last thing : 3 inputs

* double : security

* int : margin of the account balance used in % 

*double : Risk in % = % of Account balance depending on margin used, stop distance for each trade


for the number of lots : Math min ( input Risk(%) , available free margin )





ファイル:

JPG
Capture.JPG
115.7 Kb

応答済み

1
開発者 1
評価
(367)
プロジェクト
462
40%
仲裁
82
37% / 33%
期限切れ
13
3%
取り込み中
2
開発者 2
評価
(362)
プロジェクト
502
40%
仲裁
145
17% / 73%
期限切れ
98
20%
多忙
3
開発者 3
評価
(461)
プロジェクト
689
56%
仲裁
43
30% / 33%
期限切れ
111
16%
仕事中
類似した注文
Hi, I want a custom indicator to be coded based on 2 default Indicators. Add alerts for signals and news filter alerts to be sent through metaquotes id, email and phone. Popup alerts for pc/laptop as well. I would like it to have a display panel that logs the trade history and a buy/sell button with risk % based on balance and equity, fixed lots and some other features
Forex Advanced Risk Management : With the new Fixed Lot and Risk Percentage modes, tailor your trading to align with your risk tolerance. The system now allows you to define your risk down to minute detail, ensuring that each trade is in harmony with your financial strategy. Dynamic Trend Configuration : Version 2.0 comes with a refined algorithm selection that seamlessly adapts to market trends. Whether you choose a
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks
I want someone who can create a Automatic mobile trading bot/EA with my kind of strategy...Example: : When The market is buying and rejects an has created an M formation the First leg is higher than the second leg(first leg Higher high,second leg lower high then a line must touch the peak of the Higher high then connect with the peak of the lower High as a Footprint line,then there must be Another line that touches
SpotBot45 30+ USD
I know nothing about trading so am looking for a custom made automated trading bot with medium risk and maximum returns.I am looking for about a ten percent return per day minimum and minimise as much risk where possible
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may
Pvi 30 - 200 USD
pips volume indicator between 1 to 10k counting indicator. on only specified periods of open close low hi with selected time period m1 m5 m15 etc etc with level can customize by users. changes color after each 25 percent of pips count means u set 1000 pips it must first change its color after 25 percent than 50 than 75 first the final color should be the signal of buy sell user can select the levels colors. i want to
Hello I am looking for a developer to help me backtest my custom ninjatrader 8 strategy andake it work perfectly your expertise is highly need for this project kindly reach out to me and let proceed
Respected Madam I need an EA in Mql5 which can Buy at certain Increment of points like 100 then 50 then 50 then 25 then 25 then 25 then 25. Possibility of Grid increase. Buys at certain fixed level if the the Price drops like 100 points down then again 100 points down then again 100 points down like this in a grid system, Grid size I will declare. Grid order systems with stop loss and Multiple Reorders if the Stop

プロジェクト情報

予算
50+ USD
VAT(付加価値税) (20%): 10 USD
合計: 60 USD
開発者用
45 USD
締め切り
最低 1 最高 2 日