- Domov
- Komunita
- Programovanie
- Anyone who can help me with this ?
Edit Your Comment
Anyone who can help me with this ?
Členom od Feb 04, 2010
10 príspevkov
Oct 29, 2010 at 05:58
Členom od Feb 04, 2010
10 príspevkov
Hi all programs gods in mt4,...
I ve got 2 codes one of the opens sell positions and one of them opens buy possitions after each tick . As im a beginner in mt4 world i v got a problem how to join these two codes to one so that it will function like this :
it will open short position after the prize will be under the MA
it will open buy position after the prize will be above the MA ,..
Thanx a lot for a help if some will be so kind and help me pls send me an PM
thx V
I ve got 2 codes one of the opens sell positions and one of them opens buy possitions after each tick . As im a beginner in mt4 world i v got a problem how to join these two codes to one so that it will function like this :
it will open short position after the prize will be under the MA
it will open buy position after the prize will be above the MA ,..
Thanx a lot for a help if some will be so kind and help me pls send me an PM
thx V
At first there was a naked graph ,...
Členom od Oct 20, 2010
13 príspevkov
Nov 06, 2010 at 03:53
Členom od Oct 20, 2010
13 príspevkov
First you have to define your logic first.
double PriceA = iLow(NULL, 0, Current + 1);
double MAline = iMA(NULL, 0, 3, 2, MODE_EMA, PRICE_CLOSE, Current + 1);
if ( PriceA > MAline ) BuySignal;
if ( PriceA < MAline ) SellSignal;
For beginner, you can use a better portal which do not require complex MQL code learning.
Just simple logic define.


Click on the picture will give you the link to using EA creator template for FREE !
double PriceA = iLow(NULL, 0, Current + 1);
double MAline = iMA(NULL, 0, 3, 2, MODE_EMA, PRICE_CLOSE, Current + 1);
if ( PriceA > MAline ) BuySignal;
if ( PriceA < MAline ) SellSignal;
For beginner, you can use a better portal which do not require complex MQL code learning.
Just simple logic define.


Click on the picture will give you the link to using EA creator template for FREE !

*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.