Discussing the article: "USD and EUR index charts — example of a MetaTrader 5 service" - page 2

 
Roman Shiredchenko #:

I want to add and see gold-silver-platinum to trade this portfolio.

Your chart - already - impressive.....)

Please solve this probelm us spx 500 index not working sell button and but button
 
Nikolay Moskalev #:

Thanks for the tip, I did gold-silver a bit the other way round, essentially the same thing, and the interesting thing is that it can be traded )))) need to check it out at least from the beginning of the year somehow



how do you get data from the chart of this synthetic index into the robot?

 
Yermiya Mathew #:
Please solve this problem, us spx 500 index the sell button and but button are not working

there are no buy sell buttons because this is synthetic - it is traded by robot using different entry symbols....

 

made a graph of synthetics.

How can the value of both it and the indicator be obtained in the robot by what queries?

so that later in the robot, for example, I will already enter from the envelope boundaries (I know this) to open and close positions by the symbols of the synthetic index.

Here is a picture like this - e.g. iCustom() type or another function can be used to get chart values (synthetic price) and indicator values - in this case the envelope from the standard MT5 delivery


 
Nikolay Moskalev #:
trade

how do you test a custom symbol? teach....

how to get its price values into the robot on the chart of its set. And indicators on this symbol - how to get their values in the robot?

I'm smoking the topic here....

https://www.metatrader5.com/ru/terminal/help/trading_advanced/custom_instruments\

 
Roman Shiredchenko #:

how do you test a custom character? teach...

how to get its price values into the robot on the chart of its installed. And indicators on this symbol - how to get their values into the robot?

while I'm smoking the topic here....

https://www.metatrader5.com/ru/terminal/help/trading_advanced/custom_instruments\

I didn't quite understand the question, but in general my logic was to build a chart of a synthetic instrument, throw the necessary indicators on its chart, and I didn't trade the synthetic itself, but only took data from it,

and I set volumes on instruments from the market review, which are included in the calculation of this synthetic.

I was throwing my idea here , it was basically a continuation of the previously voiced trading idea.

I repeat, the index itself was only indicative...

Now this topic is a little bit removed to the side, as the performance of my toolkit is worse than nowhere. I haven't started a new one yet.

Очень красивая торговля для мажоров!
Очень красивая торговля для мажоров!
  • 2024.08.27
  • secret
  • www.mql5.com
Стабильность без риска это главное. 10-25% в месяц...
 
Nikolay Moskalev #:

I didn't quite understand the question, but in general my logic was to build a chart of a synthetic instrument, throw the necessary indicators on its chart, and I didn't trade the synthetic, but only took data from it,

and I set volumes on the instruments from the market review, which are included in the calculation of this synthetic.

I threw my idea here , it was essentially a continuation of the previously voiced trading idea.

I repeat, the index itself was only indicative...

Now this topic is a little put aside, as the performance of my toolkit is worse than nowhere. I haven't started a new one yet.

How did you get such a graph in the tester? Is this graph from the tester? You can test a custom symbol with a tester. I know that.....

How do you take data from synthetic into the robot?
And from indicators on synthetic. How to get their data in the robot on the synthetic chart?
 
Roman Shiredchenko #:
How do you take data into the robot from synthetic?
And from indicators on the synthetic. How to get their data in the robot on the synthetic chart?

And how should I get data not from synthetic?

Instrument name + chart period.

And now: what's the difference?

 
Artyom Trishkin #:

And how should we take data from non-synthetic?

Instrument name + chart period.

And now: what's the difference?

I just don't know how to use it.

I put the robot on the chart of a useful symbol audusd-usdcad how do I get values of this symbol and the envelope indicator on it in this robot?

Here is a picture

https://www.mql5.com/ru/forum/472181/page2#comment_56438839

I need data in the robot on the symbol chart from this symbol and from the indicator on this symbol.

 
Artyom Trishkin #:

And how should we take data from non-synthetic?

Instrument name + chart period.

And now: what is the difference?

What's the usual? )

Through Symbol() and Period() ) )