Questions from a "dummy" - page 226

 
sigma7i:

Hello!

I can't find an example of an indicator to build into the future.
Exactly the construction let it be indicator values or trend line.
If I build a trendline into the future, I need 2 points - one on the last bar and one on a future bar that does not exist.


Only PLOT_SHIFT is not suggested, it is a shift of the indicator.

see how it is implemented
https://www.mql5.com/ru/code/129
Авторегрессивная модель (AR) экстраполяции цен
Авторегрессивная модель (AR) экстраполяции цен
  • votes: 15
  • 2010.07.05
  • gpwr
  • www.mql5.com
Этот индикатор использует авторегрессивную модель для экстраполяции будущих цен.
 
lazarev-d-m:
see how it's implemented here
https://www.mql5.com/ru/code/129
Thanks for the link!!! Just what you need!
Algorithm is implemented on formed bars (time, i.e. X axis) and price (Y axis) there its own, then the whole thing is transferred with a shift usingPLOT_SHIFT.
 
input intEA_Magic=12345; What is this (underlined) and why is it worth this value ? I can't find how it's related to the code via F1.
 
Zeleniy:
input intEA_Magic=12345; What is it (underlined) and why is it this value? Via F1 I can not find how it is related to the code.

Isn't it a normal external variable of int type with name EA_Magic with default value = 12345.

And this value is most likely out of spit.

Документация по MQL5: Основы языка / Типы данных / Целые типы / Типы char, short, int и long
Документация по MQL5: Основы языка / Типы данных / Целые типы / Типы char, short, int и long
  • www.mql5.com
Основы языка / Типы данных / Целые типы / Типы char, short, int и long - Документация по MQL5
 
Is it possible for an Expert Advisor running on a EURUSD chart to see graphical objects on a USDJPY chart, for example?
 
lazarev-d-m:
Is it possible for Expert Advisor running on the EURUSD chart to view graphical objects on USDJPY chart, for example?

Find functions for operations with charts >> Charts operations

You can view the objects on other charts by their identifiers.
 
tol64:

Find out about functions for graph operations >> Graph operations

You can see the objects in other charts by their identifiers.

thanks
 

How do I make the same thing in the EA?

https://www.mql5.com/ru/code/1005

To display some text of similar content in the corner of the screen

InfoAccount
InfoAccount
  • votes: 8
  • 2012.08.23
  • Nikolay Kositsin
  • www.mql5.com
Этот скрипт можно отнести к разряду информационных. Он просто выводит сведения о текущем торговом счёте на график,
 
lazarev-d-m:

How do I make the same thing in the EA?

https://www.mql5.com/ru/code/1005

To display some text of similar content in the corner of the screen

Comment()?
 
lazarev-d-m:

How do I make the same thing in the EA?

https://www.mql5.com/ru/code/1005

To display some text of similar content in the corner of the screen

Is this a joke? )) You can see everything in the same code, right down to the bottom line.