Tâche terminée
Spécifications
I am a forex and bullion trader.
I have a strategy that I am wanting someone to help me code it in MT5.
Please discuss with me in more details. Skype : deleted by Administration
Fulfilling Orders outside of the Freelance service
- You can use the Freelance service only for its intended purpose -
carrying out all necessary works and making payments for published
Orders. Searching for customers and developers in the Freelance service
in order to perform a work outside of the service is forbidden.
- Customers and Applicants cannot exchange contact data in
any form before concluding a Work Agreement. Violators are banned from
participating in the Freelance.
- Carrying out works and payments for Freelance Orders outside of the service is forbidden. Violators lose access to all MQL5.com website services.
- The Administration has the right to ban violators from participating in the Freelance service without any explanation after an internal investigation.
---------------------------------------------------------
First, the trading instrument is gold, XAUUSD.
My strategy is to keep buying or selling in one-direction(something like high-frequency trader but it’s with longer time. The idea is to use small amount of money to snow ball it.
Generally I will put 30 USD in my account. And Ill use all 30USD as full margin to trade it. Lets say I use all full margin to buy XAUUSD, Ill set many buy stop orders on it.
Let’s say I am using full margin to buy XAUUSD at 1300. Ill put many buy stop orders on it. It means I buy at 1300, and Ill have one buy stop order at 1300.5, 1301, 1301.5, 1302 and so on. And total Ill put 50 buy stops on XAUUSD until 1325. For the case of short-side, it’s also the same. Let’s say I am using margin to sell XAUUSD at 1300. Ill have many sell stop orders below 1300. Ill have one stop sell order at 1299.5, 1299, 1298.5, 1298, 1297.5 etc. Until 1275.
How many lots per order?
-For example, If I trade full margin with 30USD in my account, the lots per order would be 0.02, 0.02, 0.03, 0.03, 0.03, 0.03, 0.04,0.04, 0.04, 0.04, 0.04, 0.05, 0.05, 0.05, 0.05 ,0.05, 0.06, 0.06, 0.06, 0.06, 0.06, 0.07, 0.07, 0.07, 0.07, 0.07, 0.08, 0.08, 0.08, 0.08, 0.08, 0.09, 0.09, 0.09, 0.09, 0.09, 1.0, 1.0, 1.0, 1.0, 1.0 and so on. (until 50orders) (starting from 0.04, every order will be placed 5times.)
Please reminded that, the above case is only for 30USD. If I put 60USD, 100USD etc., please portion the orders. It means If I trade full margin with 60USD in my account, the order would be 0.04, 0.04, 0.06, 0.06, 0.06, 0.06, 0.08, 0.08, 0.08, 0.08, 0.08 .....and so on.
How to trigger the programme for opening and closing the position?
-Lets say I manually buy XAUUSD with 0.01lot at the market price, the programme will be triggered, and use the full-margin to buy XAUUSD at market-price, and put the 50 buy stop orders above the market price.
(for example, If my account has 30USD, I buy XAUUSD with 0.01 lot at market price, 1300, and the programme will be trigger. And the programme will buy XAUUSD with 0.02 lot, 0.02 lot, 0.02 lot until full margin at market price, 1300. Also there’s 50 buy stop order above 1300.)
---> This is also for the case of sell-side.
- For Half- Automatically closing the positions and orders, I Also use 0.01 lot for the triggering the programme. If I close the position at the market price with 0.01lot. It will trigger the programme, and then the programme will close all the positions and also all the orders. It means there will be no any positions and order in MT5 anymore.
- For Automatically closing the positions and orders, its only when the net equity earns 10 times from the beginning. Lets say at the very beginning I have 30 USD in my account and I use full margin to keep buying XAUUSD. If I can snow ball it and my net equity is reached to 300USD, the protection system is triggered. If the net equity from 300 USD to 200, all the positions and orders will be closed. If the net equity from 600 to 400, all the positions and orders will be closed. If the net equity from 900 to 600, all the positions and orders will be closed. (It means 2/3 from the highest equity)
What if my positions are closed by compulsory as I trade with full margin?
- Lets say I buy XAUUSD at market price, 1300, and I trigger the programme. I keep buying and earning money until 1304. If the price suddenly drops from 1304 to 1301, some of my positions will be closed by compulsory as the margin is too tight. At that moment, the programme can re-fill the stop orders above the market price, let’s say 1301, 1301.5, 1302, 1302.5, 1303.5, 1304.
In this programme, for the users, they only have two actions. One is buy/sell 0.01lot to trigger the programme for opening positions and place the orders. And another one is close 0.01 position to trigger the programme for closing all the positions and orders. For any other things are all automatic.
Please do it for both buy and sell side.
-----------------------------------------------------------
Please discuss with me in more details. Skype : deleted by Administration