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

Specifiche

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 )





File:

JPG
Capture.JPG
115.7 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(366)
Progetti
460
40%
Arbitraggio
82
35% / 33%
In ritardo
13
3%
In elaborazione
2
Sviluppatore 2
Valutazioni
(362)
Progetti
501
41%
Arbitraggio
145
17% / 73%
In ritardo
98
20%
Occupato
3
Sviluppatore 3
Valutazioni
(461)
Progetti
687
56%
Arbitraggio
43
30% / 33%
In ritardo
110
16%
In elaborazione
Ordini simili
I Want a bot that will work for my tradingview strategy and also works perfectly, Kindly reach out to me so I can explain the project more further and get started without any further delay
Development of MT5 EA or Script For Account Load Calculation 1) Calculate Account Load based on Active positions and Set Stop losses 2) Calculate Account Load based on Pending orders 3) The EA Or Script will need a Simple Text and Edit box GUI to be used for communicating with user regarding load calculation parameters and results. 4) There Will Also be a text file used by both EA and User for communicating load
Looking for EA's that can pass prop firms Only message me if you are serious thank you https://t.me/ marketkillerrr Message me on tele^Gram thanks Or you can msg me here it doesn't matter please do not waste my time... Price is negotiable i can pay up to 30,000$
Hello .I have existing Tradingview strategy that I will like to automate to Mt4 EA based on my specification . I need an expert in the field that have experience in both tradingview and MT4
my style of trade is to manually scale position size up & down from 1 to 100+ micros as the market moves, so the indicator I need has nothing to do with scaling in & out of the position, but I need an indicator that dynamically trails the position P&L, And has a trailing daily max loss that will reject new order entry if triggered. Example is setting a $350 Position auto stop-loss so as I scale in & out of contracts
FIFO Closing EA I need an EA that will follow FIFO rules for closing of open trades. The EA should close a trade per order/ticket number – NOT a magic number – at: 1) A specified price, and/or 2) A specified time of “Today”, whichever comes first. For more info see attachment
Hi, i have a simple strategy which has 4 different types of entries based on parabolic sar and moving average that I would like to be coded into an EA. I would also like some inputs for it like news filter, time start and time end, risk % and so on. Will discuss further upon application
Hey there, I need to convert an indicator from ninja to mt4 I will attach the ninjatrader indicator script to be converted into mt4 If you can do this kindly bid and let's discuss about the project Thanks
Hello colleagues, I have a request for development. It is required to develop a trading panel for manual trading. If you have experience in implementing similar projects, please send us estimated time frames and costs. I will be glad to hear your questions and work with you on this project. General description: It is required to develop a panel for manual trading. This is a panel with Risk Reward Tool for installing
a.) My current Script can do the Followings, 1.a) Create an index; 1.b) Create a custom configuration chart. b.) What i want is to assemble all indexes and make an average index(Avg Index= index1 + index2 + index3 + ........../ no: of indexes) We will call this average index "APX" c.) Then we will configure another custom charts whereby we will say 1.) APXAUD=APX/AUD Index; 2.) APXCAD=APX/CAD Index; 3.)

Informazioni sul progetto

Budget
50+ USD
IVA (20%): 10 USD
Totale: 60 USD
Per lo sviluppatore
45 USD
Scadenze
da 1 a 2 giorno(i)