Errors, bugs, questions - page 1286

 

Hi all. I need to write an indicator in MQL4 and I have a question. Doesn't MQL4 have a function similar to this one (from MQL5):

PlotIndexSetInteger(0,PLOT_ARROW_SHIFT,ExtArrowShift);
PlotIndexSetInteger(1,PLOT_ARROW_SHIFT,-ExtArrowShift);

The arrows should be moved relative to the price.

Thank you.

 

I think so, but you'd better check

void  SetIndexShift(
   int     index,       // номер линии
   int     shift        // смещение
   );
 
MigVRN:

I think so, but you'd better check

No, unfortunately, this function shifts left/right, while you want up/down.
 
papaklass:

Why does my profile show 4 published codes in CodeBase?

But if I go to CodeBase through the menu and select "My Codes", I have 7 published codes:

What's the trick?

from the four maybe added on.

Is it there?

ZS: all together 7,

3 for a 5 and 4 for a 4, strange

 
papaklass:

Why does my profile show 4 published codes in CodeBase?

But if I go to CodeBase through the menu and select "My Codes", I have 7 codes published:

What's the chip?

Your "Profile" -> "Publications" - you can see from this link that you have codes for both MetaTrader 4 and MetaTrader 5.

Yes. You can see a counting error in the profiles of 4 and 5.

 
barabashkakvn:
Your "Profile" -> "Publications" - this link shows that you have codes for both MetaTrader 4 and MetaTrader 5.

But there are 7 of them

ZS: that's ok 3+4 =4 )

 

No, they're not.

I, for example, have the codes from the four in this profile: https://www.mql5.com/ru/users/sanyooooook1

 
Can you tell me (or point me in the right direction) how to set the EA to open a position only at certain times, e.g. opening a position is only possible between 4:00AM and 5:PM GMT on broker's server.
 
paladin800:
Can you advise (or guide me on the right track) how to set the EA to open a position only at certain times, eg. opening a position is only possible between 4:00AM and 5:PM GMT server of the broker.
Is it GMT or server time? They may be different.
 
artmedia70:
So GMT or server time? They can be different.
GMT.
Reason: