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
등급
(376)
프로젝트
475
40%
중재
83
36% / 33%
기한 초과
13
3%
작업중
2
개발자 2
등급
(362)
프로젝트
506
40%
중재
147
18% / 72%
기한 초과
99
20%
바쁜
3
개발자 3
등급
(467)
프로젝트
700
56%
중재
44
30% / 32%
기한 초과
114
16%
작업중
비슷한 주문
**Project Title:** Development of a Complex High-Performance EA for Step Index **Project Overview:** I need an advanced Expert Advisor (EA) for trading the Step Index on MetaTrader 5. The EA should use multiple indicators and advanced risk management techniques to enhance profitability and manage risks effectively. **Trading Strategy Details:** Indicators: - 50-period EMA - 200-period EMA - RSI with 14 periods - MACD
Below follows specifications and the pictures of how the indicator should be. I believe that during the development it is necessary some adjustments that I may have forgotten while writing the descriptions, please take this into account. If necessary I have the pdf file that may be easier to understand. Doubts I am at your disposal
Saya memerlukan Expert Advisor berdasarkan sinyal AOX. Itu harus memiliki pemeriksaan dan penanganan kesalahan operasi perdagangan. Kriteria utama pembukaan dan posisi penutupan: ■ arah rata-rata bergerak ■ harga lebih tinggi dari bar sebelumnya. Lot perdagangan adalah parameter masukan
Hello, I need a trading assistant panel in mql5, preferably in spanish. The panel should be very similar to the Trade Assistant MT5 program that is in the market section of the mql5.com page. I don´t need all the features that the program has, but at least: - Line function - shows on the chart the Opening line, Stop Loss, Take Profit. - Close position by parts - closes a part of the order as a percentage of the set
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
Requirement Specification : I have an EA that i want to convert from MQ4 to MQ5. I want my EA to be ready as this link says: https://www.mql5.com/en/articles/2555 And I want both EA passes the MQL5 automatic validation, no errors, no warnings, no dll . I need a good and experience programmer that can commit and complete this project. I have an Existing MT4 Expert Advisor and i want to convert to MT5. Exact copy i
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
My trust wallet was hacked and I have tokens to claim which unlock almost daily but the person who hacked the wallet drains the tokens as soon as I claim them in the hacked wallet. I have contacted the support for that crypto but they were not helpful. There is no way to claim this crypto to another wallet. I need a bot or another solution that can transfer the crypto out of the hacked wallet into my other wallet as

프로젝트 정보

예산
50+ USD
VAT (20%): 10 USD
총: 60 USD
개발자에게
45 USD
기한
에서 1  2 일