OpenHighLowClose mt4 ea

MQL4 Experts Scripts

Spécifications

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 )

Répondu

1
Développeur 1
Évaluation
(15)
Projets
65
58%
Arbitrage
6
17% / 33%
En retard
39
60%
Gratuit
2
Développeur 2
Évaluation
(493)
Projets
1022
58%
Arbitrage
30
27% / 23%
En retard
133
13%
Travail
3
Développeur 3
Évaluation
(164)
Projets
218
50%
Arbitrage
6
17% / 67%
En retard
11
5%
Gratuit
4
Développeur 4
Évaluation
(505)
Projets
972
74%
Arbitrage
27
19% / 67%
En retard
100
10%
Chargé
Publié : 1 article, 6 codes
5
Développeur 5
Évaluation
(182)
Projets
342
42%
Arbitrage
118
12% / 73%
En retard
104
30%
Gratuit
Publié : 4 codes
6
Développeur 6
Évaluation
(26)
Projets
45
29%
Arbitrage
2
0% / 50%
En retard
21
47%
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
8
Développeur 8
Évaluation
(12)
Projets
17
35%
Arbitrage
1
0% / 100%
En retard
3
18%
Gratuit
9
Développeur 9
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(273)
Projets
396
63%
Arbitrage
70
53% / 26%
En retard
198
50%
Gratuit

Informations sur le projet

Budget
20 - 27 USD
Délais
de 1 à 4 jour(s)