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
等级
(437)
项目
561
37%
仲裁
96
42% / 28%
逾期
15
3%
工作中
2
开发者 2
等级
(365)
项目
507
40%
仲裁
147
18% / 72%
逾期
99
20%
已载入
3
开发者 3
等级
(496)
项目
738
56%
仲裁
47
32% / 30%
逾期
117
16%
工作中
发布者: 1 代码
相似订单
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
Mthizo trades 30 - 200 USD
- *Currency Pairs*: Major pairs such as EUR/USD, XAU/USD and GBP/USD - *Funding Currency*: South African Rand (ZAR) - *Initial Deposit*: R100 (may require additional deposit for live trading) - *Risk Management*: Basic risk management features, such as stop loss and take profit - *Strategy*: Pre-defined strategy based on Smart Money Concept principles - *Cost*: Approximately R100-R200 (one-time cost or
I need an Expert advisor based on AOX signal . it must have check and handing of trade operation..errors. The main criterin for opening and dosing a position : moving average direction the price is higher than the previous bar Trade lots is input parameter bar
Manage my live forex account with a disciplined, low-risk approach that produces steady monthly income. My priority is capital protection, so each trade must be sized conservatively, anchored by firm stop-loss orders, and designed to keep drawdown minimal. High-risk tactics such as martingale, grid systems, or excessive leverage are off the table; a measured, rules-based strategy is essential. I will connect the
Description: Gildepak is a purchasing cooperative for packaging materials. We need a program to calculate and fairly distribute the annual bonus (received from preferred suppliers) among our member companies (partners and members). The program should work with a set of predefined tables and data flows, and it must be able to import and export Excel files. Main Tables: Member Companies Company ID Company Name Partner
Fractal Multi-Timeframe Strategy (H4→M15→M2) — Developer Spec Abstract This document specifies a fractal trading workflow leveraging H4 for regime identification, M15 for Area of Value (AoV) location, and M2 for execution using CHoCH-based triggers. The goal is a robust, developer-friendly specification that minimizes ambiguity and matches the operational style already discussed (Liquidity → Order Block →
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
READ CAREFULLY And if you have done 50 projects before then apply others i will reject SEPARATE LOGIC MUST BE SEPARATE AND ALL INPUTS MUST BE VISIBLE WITH FALSE TRUE OPTION TO ON OFF FUNCTION 🔺 BUY Signal (Boom Market) ✅ Pattern Formation (Spike-Based Buy Setup) First Spike : Large bullish spike candle . Mitigation Candle : Small bearish candle inside or partially inside the bullish spike. Second Spike
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H

项目信息

预算
50+ USD
VAT (20%): 10 USD
总计: 60 USD
开发人员
45 USD
截止日期
 1  2 天