Forum

Recall result of last trade

is it possible to recall if the last trade hit TP or SL and make a trade according to that? thanks

Basic EA template

ive managed to compile a very simple setup //+----------------------------START---------------------------------+ extern int TakeProfit = 40; extern int StopLoss = 20; int start() { double lots, ma1, stop, profit, slippage; ma1 = iMA(NULL,0,21,0,MODE_EMA,PRICE_WEIGHTED,0); lots = 0.1; slippage = 3;

0-pip spread advert

ive just seen an advert on this forum for 0-pip spread at Neuimex :: Forex For Professionals :: NEXTTPRO Platform how can that be right? must be some dodgy dealing there right? they also have a trend indicator page FOREX, FUTURES, CFD. . ..:: Commission free trading, online real-time trading

Indicator template

i'm looking for a simple template that will plot buy sell arrows depening on a certain condition. ive tried editing other indicators but they all seem to screw up, i'm just after something simple like MA cross, so i can change the logic to other indicators and such (hopefully with more productive

Automated Trading Championship

i don't know how many of you are aware of this but there is currently a competition running to test the profitability of EA. on average more EA's lose than win but there are some succesful EA's https://championship.mql5.com/2012/en

Indicator experiments

this site looks at different auto-trading methods and their results such as random entry https://www.mql5.com/go?link=http://newsletter.neoticker.com/2006/07/04/formula-301-7-random-entry-system/ money management

Buy order problems

this bit of code doesnt seem to buy, any ideas why? if(Close[2]ma) { OrderSend(Symbol(),OP_BUY,lots,Ask,3,stop,Ask+profit,"",2005,0,Green); } it should buy when a new candle closes above the moving average and the previous closed below it