- Joined Jul 2011 | Status: Member | 7,735 Posts
If you trade like me, you'll be homeless and broke within a week.
Goldilocks All Time Return:
109.1%
Any Expert Advisors programmed for Vegas stategies? 4 replies
Have strategy -- Need EA programmed 11 replies
Help - programmed exit on MT4 2 replies
RSI, %R, CCI Strategy (Would like programmed) 5 replies
10 Pip System Need Indicator Programmed 19 replies
Disliked2010.05.19 21:53:15 Expert 'BUY Normal Risk' is not custom indicator and will be removed
arrrrgh
Screenshot comingIgnored
DislikedIf you mean this post, you need to put scripts into the expertsscripts folder.Ignored
Disliked
Just a thought, could this have something to do with 6 digit pricing? 1.74635 an so on. So I would need:
int StopLoss = 300;
For instance to stop at 30 pips?Ignored
//+------------------------------------------------------------------+ //| Sell with SL and TP | //| Copyright © 2008, smjones | //| sjcoinc | //+------------------------------------------------------------------+ #property copyright "Copyright © 2008, smjones" #property link "[email protected]" //#property show_inputs extern double Lots = 1; extern bool UseMoneyMgmt = true; extern double RiskPercent = 2; extern bool UseStop = true; extern bool UseTakeProfit = false; extern double StopLoss = 100; extern double TakeProfit = 200; extern string Note="0 in Entry field means Market Order Sell"; extern double Entry = 0.00000; string Input = " Sell Price "; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() { double Risk = RiskPercent / 100; if (UseMoneyMgmt) Lots = NormalizeDouble( AccountBalance()*Risk/StopLoss/(MarketInfo(Symbol(), MODE_TICKVALUE)),2); int Mode = OP_SELLSTOP; if (Bid < Entry && Entry > 0) Mode = OP_SELLLIMIT; if (Entry == 0) {Entry = Bid; Mode = OP_SELL;} double SLS = Entry+StopLoss*Point, TPS = Entry - TakeProfit * Point; if (UseStop == false) SLS = 0; if (UseTakeProfit == false) TPS = 0; if(Lots > 0) OrderSend(Symbol(),Mode, Lots, Entry, 2, SLS, TPS, "Sell Script",0, NULL, Red); return(0); } //+------------------------------------------------------------------+
DislikedHi there,
One way might be to use a script such as the ones I have attached. One is for Buy orders and the other for Sell orders as the names indicate. Just open them, set the lot size, TP and SL you wish and save them in your Experts/Scripts folder. Then all you have to do is drag the appropriate script onto your chart and the rest is history. I have not used them but they should be fine. Test them on a demo first though.
Hope it helps,
Good luck
GFIgnored
DislikedHi
Does this script still work in MT4? It is exactly what I have been looking for but I an unable to make it work. Followed the instructions to the letter as far as I can tell though.
DavidIgnored
DislikedHi there,
One way might be to use a script such as the ones I have attached. One is for Buy orders and the other for Sell orders as the names indicate. Just open them, set the lot size, TP and SL you wish and save them in your Experts/Scripts folder. Then all you have to do is drag the appropriate script onto your chart and the rest is history. I have not used them but they should be fine. Test them on a demo first though.
Hope it helps,
Good luck
GFIgnored