Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Please someone help me to make EA basic from this indicator.The order for buy or sell are in the next opencandle after the cycleidentifier was confirmed.Thank`s
this indicator just a 'filter' for buy/sell, needed more conformation on another indicator to buy/sell... can i know ur system? if u explain a little bit about ur system, maybe someone in here could help u make an ea..
I am looking for a function to download a file from an FTP server.
Can someone help me?
In this forum, I found the mtftp-library. But it seems not to work, because it crashes most of the time. I have created a little ea that does nothing but download a file from an FTP server and save it to the local hard disc.
Just a few seconds later I get a message and have to restart MetaTrader.
I need some functions to duplicate the StopBuy and StopSell functions of MT4. The problem I have with the MT4 functions is that if I enter a Stop Buy or Sell with an execution price that is not at least 10 pips away from the market, it rejects the order. On short time frames, most of my Stop Buy / Sell orders are only 3 - 7 pips away from the market.
I would like a function that can:
1. Manage a group of pending stop orders (no more than 16).
2. That will issue a market order when the market price reaches the desired execution price.
3. Allow for changes to pending orders before they are executed.
4. Allow for deletion of pending orders before they are executed.
5. Automatically deletes the executed order from the group making a new order slot available.
It would be really wonderful if it could also I find a function that manages the Take Profit and Stop Loss much for the same way (allow, update, delete etc.). The main reason is the same - the desired execution price is often less than 10 pips from the market and MT4 or my Broker rejects the changes.
I am willing to pay to have this developed if it doesn't exist and think it would be a great addition to the whole group here.
Many thanks.
Dave
Last edited by hitescape; 09-23-2008 at 06:44 PM.
Reason: I cant type correctly the first time!
There are some question that I need an answer for building an EA:
1. Only open 1 BUY and 1 SELL position in the same day
2. Close all opened trade at spesific time in the same day, example: close all at 21.00 (broker time) in the same day.
thanks before...
Before opening a buy/sell order use the OrderSelect() function with MODE_HISTORY to check history orders. You can loop through them using OrdersHistoryTotal(). Loop in reverse order as most likely the order you're looking for will be towards the end of the history so no need to start at the beginning.
For your second issue just check the time using TimeCurrent() and close when it's your specified hour.
Take a look at the help file if you get stuck. It's ALL there for you, you just have to look.
__________________
Proverbs [James]
Faith in Jesus helps me to see the invisible, believe the incredible and receive the impossible!
He makes all things new in my life.
Hi everyone
I have array which keeps result of n transactions from orders history window in form:
Buys
if order profit >0
traintest[x][y]=1 win
if order profit <=0
traintest[x][y]=2 loss
(same for sell orders)
My question is :how to update these arrays after ,let say k new transactions ? Now my procedure updates it after each new buy sell order , when it is call from main procedure.I stuck completly whithout any idea
:: What do you want to do with them? clear them? to sort them? refill them at start? or add more?
Quote:
Originally Posted by Dakhr
Hi everyone
I have array which keeps result of n transactions from orders history window in form:
Buys
if order profit >0
traintest[x][y]=1 win
if order profit <=0
traintest[x][y]=2 loss
(same for sell orders)
My question is :how to update these arrays after ,let say k new transactions ? Now my procedure updates it after each new buy sell order , when it is call from main procedure.I stuck completly whithout any idea