MQL4 Learning - page 58

 

Where have I gone wrong

Hi,

I am a newbe here and this is my first post. And it's a question.

I taught myself MQL4 from the lessons of coders guru and attempted to create an EA. When attached to a chart the 'smiley' face appears. I have done all the necessary 'ticks' on properties and options windows. But there is no 'action'.

The back tester did not return any visual graph either.

Could someone enlighten me as to where I have gone wrong?

If required I can attach the code here if somebody tells me how to.

Thanks.

 
Forensa:
Hi,

I am a newbe here and this is my first post. And it's a question.

I taught myself MQL4 from the lessons of coders guru and attempted to create an EA. When attached to a chart the 'smiley' face appears. I have done all the necessary 'ticks' on properties and options windows. But there is no 'action'.

The back tester did not return any visual graph either.

Could someone enlighten me as to where I have gone wrong?

If required I can attach the code here if somebody tells me how to.

Thanks.

Yes, it would be good to see the code because we can't say too much with just a description.

 
Forensa:
Hi,

I am a newbe here and this is my first post. And it's a question.

I taught myself MQL4 from the lessons of coders guru and attempted to create an EA. When attached to a chart the 'smiley' face appears. I have done all the necessary 'ticks' on properties and options windows. But there is no 'action'.

The back tester did not return any visual graph either.

Could someone enlighten me as to where I have gone wrong?

If required I can attach the code here if somebody tells me how to.

Thanks.

Without looking at your code, I have found that with most EA's the main problem is not opening trades. This is usually to do with trading hour variables or wrong icustom settings.

If you are using icustom, Place a comment line after your variables

ie

double hma0 = iCustom(NULL,0,"Some indicator",15,1,1,0);

double hma1 = iCustom(NULL,0,"Some indicator",15,1,0,0);

Comment(" hma0= ",hma0," hma1= ",hma1);

Then you can see the flip between the two to see if you are reading the indicator correctly and tie in your if code after this to suit the condition

 

help for coding

I have this code. Can anyone help me for the indicator?

Thanks.

extern int IndicatorNumber=1;

extern color TrendUpColor=LightGray;

extern color TrendDownColor=LightGray;

extern color LevelColor=DarkGray;

extern int Width2LevelConfirmation=3;

extern int Width3LevelConfirmation=3;

extern int Width4LevelConfirmation=3;

extern int Width5LevelConfirmation=3;

extern bool SnapExtremumsToLevelOnChar=True;

extern int FractalBarsOnEachSide=1;

extern int ProceedMaxHistoryBars=2000;

extern int LevelActuality=200;

extern bool RestDefaultTimeframeValues=False;

extern int ExtremumToLevelMaxGap=5;

extern double PriceDeltaFor1Bar=0.0;

 

It is not a code. It is the settings only.

 
newdigital:
It is not a code. It is the settings only.

Sorry. There are best settings for the indicator Level trading 123

Files:
 

Williams percent range %R

hey friends,

i am looking for an EA

where

i can open close trade when W%R crosses up on down -20/-80 lines.

any help, much appreciated.

 

Hello!

I've trying to modify the Coders Guru EA to my needs, but now i have this error and i need a little help.I'm a novice coding so...

The errors:

'EnterLongEma' - expression on global scope not allowed

'EnterLongEma' - variable not defined

'MainShortEma' - expression on global scope not allowed

'MainLongEma' - variable not defined

The problem is that the variables are defined! :/

Pleas help!!

Downloads here:

CrossmyneedsEA

 
eden3000:
Sorry. There are best settings for the indicator Level trading 123

Thread for is here: https://www.mql5.com/en/forum/general

 

Fractional Pips - How To Visualy Get Back To "Old" Times

Hi,

I guess everyone has recognized the new trend, fractional pips in mt4 platform. Me, personaly, i find it very confusing. Does anybody here knows the way, how to distinguish visualy 5th decimal place to be smaller (like in open order window) on the side bar? Also when you setting TP or SL after opening position, would be great to distinguish it visualy.

I would welcome every suggestion.

Jay

Reason: