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.
I have no idea what i'm doing wrong..
this doesn't seem to close half at a certain TP
if (OrdersTotal()>0) {
OrderSelect(0, SELECT_BY_POS,MODE_TRADES);
Tick = OrderTicket(); // Number of selected order
Tip =OrderType(); // Type of selected order
Price =OrderOpenPrice(); // Price of selected order
Lot =OrderLots();
if (Bid >= (Price + (TakeProfit * Point)) && Lot == 2 && (Tip == OP_BUY)) {
OrderClose(Tick,1,Bid,10,Red); }
if (Ask <= (Price - (TakeProfit * Point)) && Lot == 2 && (Tip == OP_SELL)) {
OrderClose(Tick,1,Ask,10,Blue); }}
Do I have the BID and ASK correct? probably not
__________________ www.LiveTeamTrading.com
The FIRST LIVE Team trading Network Community for FOREX TRADERS! Ask me about Getting an Invite!
i need a code to restrict my ea to only one trade. its a scalper, i only want one trade, after it makes, i put it off and attach it again the next day. can anyone help me on this??
Somewhere in this thread this question had to have been asked...
Can someone help me with the code to 1) have a hidden SL that 2) only closes part (50%) of the open order and 3) closes the remainder of the order after it crosses a moving average.
Attached is an EA, but it's not in English, so I can't fully understand what it is doing or where to add my other code.
How to Prevent Reloading Indicator at Every New Tic
Please tell me what I did wrong invoking iCustom that causes an indicator to load again with each new tic. (Backtesting fills the whole viewing window with hundreds of iterations of that indicator.)
From my "Start Program" I want to confirm a trade opportunity using EntryDir() method (which follows):
im a bit new to C++ so i guess ill study def files. i read adding the def file to the librarys folder where the DLL is may solve this but no.
also read adding the DLL to the system32 folder, still no.
i plan to email this project to people so id rather not have to say how to place 4 different files all in different folders. is this the only way?
this is the def file. look ok?
does it need to go in librarys with the DLL?
The .def file is part or your compiled c++ solution. I then copy my compiled c++ dll into the system32 folder in windows. I use a 32 bit system with windows xp.
I'm no expert in c++ either, but this is how I was able to make it work.