OpenHighLowClose mt4 ea

MQL4 Esperti Script

Specifiche

Hello,


I need an ea as below: Read and tell me if you can make it.

Open High Low Close Ea Instruction:

Add OHLC  prices  of Previous 1 Candle and Divide it by 4  . The value will be the pivot .
Example:

EURUSD:  O= 1.3158 , H= 1.3198 , Low= 1.3119  Close= 1.3121 .

From this example price the ea should do the following:
Add OHLC of Prvious 1  bar /4 .
1.3158+1.3198, +1.3119 +1.3121 /4  = 1.3149 pivot .

Buy Rule:  Buy when Open xbar >Pivot 1 bar
Close Buy  if Opening    xbar < Pivot 1 bar
Sell Rule : Sell if Open xbar < Pivot 1 bar
Close Sell if Open xbar > Pivot 1 bar
Stop Loss and Take Profit= Variable
Work with 4/5 digit quotes .
Work on all time frame.
Each Tick Mode:
Lot Size Variable and ability to use mm/risk setting so user can use manual lots or mm . See the code below on how I want the mm to be like:
[4/23/2013 8:09:32 AM] siriyke: extern int MagicNumber=10001;
extern double Lots =0.1;
extern double LotsPercent =0.01;
extern double StopLoss=250;
extern double TakeProfit=500;
extern int TrailingStop=0;
extern int Slippage=3;
//+------------------------------------------------------------------+
//    expert start function
//+------------------------------------------------------------------+
int start()
{
  double LotSize = Lots;
  if(LotsPercent>0)LotSize = LotsPercent*0.01*AccountBalance();
  double MinLot = MarketInfo(Symbol(),MODE_MINLOT);
  double MaxLot = MarketInfo(Symbol(),MODE_MAXLOT);
 
  double StopLevel = MarketInfo(Symbol(),MODE_STOPLEVEL)*Point;
  double FreezeLevel = MarketInfo(Symbol(),MODE_FREEZELEVEL)*Point;
  double MaxLevel = MathMax(StopLevel, FreezeLevel);
 
  LotSize=MathMax(LotSize,MinLot);
  LotSize=MathMin(LotSize,MaxLot);
 
  int normKoef = 3;
  if(MinLot>=0.01)normKoef=2;
  if(MinLot>=0.10)normKoef=1;
 
  int k=1;
  if(Digits==3 || Digits==5)k=10;
 
  double TheStopLoss=0;
  double TheTakeProfit=0;
  if( TotalOrdersCount()==0 )

Con risposta

1
Sviluppatore 1
Valutazioni
(15)
Progetti
65
58%
Arbitraggio
6
17% / 33%
In ritardo
39
60%
Gratuito
2
Sviluppatore 2
Valutazioni
(493)
Progetti
1022
58%
Arbitraggio
30
27% / 23%
In ritardo
133
13%
In elaborazione
3
Sviluppatore 3
Valutazioni
(164)
Progetti
218
50%
Arbitraggio
6
17% / 67%
In ritardo
11
5%
Gratuito
4
Sviluppatore 4
Valutazioni
(491)
Progetti
956
74%
Arbitraggio
27
19% / 67%
In ritardo
101
11%
Caricato
Pubblicati: 1 articolo, 6 codici
5
Sviluppatore 5
Valutazioni
(182)
Progetti
342
42%
Arbitraggio
118
12% / 73%
In ritardo
104
30%
Gratuito
Pubblicati: 4 codici
6
Sviluppatore 6
Valutazioni
(26)
Progetti
45
29%
Arbitraggio
2
0% / 50%
In ritardo
21
47%
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
8
Sviluppatore 8
Valutazioni
(12)
Progetti
17
35%
Arbitraggio
1
0% / 100%
In ritardo
3
18%
Gratuito
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(273)
Progetti
396
63%
Arbitraggio
70
53% / 26%
In ritardo
198
50%
Gratuito

Informazioni sul progetto

Budget
20 - 27 USD
Scadenze
da 1 a 4 giorno(i)