Indicators: MorningFlat

 

MorningFlat:

This indicator displays the levels of the "morning flat" and shows possible targets

Fig.1 The MorningFlat indicator

Fig.1 The MorningFlat indicator

Author: Nikolay Kositsin

 
You should add a period separator to the screen, for clarity.
 

Greeting Nikolay,

Can you please add a pivot line option after the low and the high is set?

Also, can you please add multiple target inputs?

Best regards, and thank you in advance!


jabariforex at gmail dot com

Files:
 

When compiling it generates 3 errors:

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 233 39

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 234 41

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 261 27

 
tankarotrader:

When compiling it generates 3 errors:

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 233 39

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 234 41

'iBarShift' - ambiguous call to overloaded function morningflat.mq5 261 27

I fixed and replaced the indicator file.
 

All right! It works.

I used this indicator on mt4 a long time ago and could not get rid of marks near the lines, no matter how much I poked around in the code. It would be great and many users, I think, would be grateful if the marks near the lines could be switched off.

Thanks.

 

It's giving me errors again:

  int iBarShift(string,ENUM_TIMEFRAMES,datetime) morningflat.mq5 290 5
'iBarShift' - ambiguous call to overloaded function morningflat.mq5 261 27
   could be one of 2 function(s)                 morningflat.mq5 261 27
built-in: int iBarShift(const string,ENUM_TIMEFRAMES,datetime,bool) morningflat.mq5 261 27
   int iBarShift(string,ENUM_TIMEFRAMES,datetime) morningflat.mq5 290 5