Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1176

 
Сергей Таболин:

Gives out the price of the first point of the trend line. (((

Do you need it?

 
Сергей Таболин:

Gives out the price of the first point of the trend line. (((

Print(ObjectGetDouble(0,"TrL",OBJPROP_PRICE,1));
 
Artyom Trishkin:

Do I have to?

Needed on the current bar.

 
Vitaly Muzichenko:

That's how the second point comes out.

 
Сергей Таболин:

This is how the second point comes out.

try from "0" to "2"

 
Vitaly Muzichenko:

try from "0" to "2"

I remembered how I did it before ))))

   Print(NormalizeDouble(ObjectGetValueByTime(0,"TrL",TimeCurrent()),Digits()));

It's supposed to work with a fan as well.

 
Сергей Таболин:

I remembered how I used to do it ))))

It's supposed to work with a fan as well.

It doesn't...

 

Who can tell me how to check the simulation quality after the test. For example ran, ticks test, in the middle somewhere there were problems with the history and the simulation quality was 80%, how to programmatically check this figure?


 
Still, how do you get a fibonacci fan level price on the current bar? Or is this an unsolvable task?
 
Сергей Таболин:
Still, how do you get the fibonacci fan level price on the current bar? Or is this an unsolvable task?

ObjectGetValueByTime

Reason: