ICustom problem
-
Re: 4108 Error: Invalid ticket/order close error
Thanks GeoFX for your time and explanation, excellent study!
It says the topic is old and I have to start a new one, so here goes nothing:My problem is that I want to use the object on chart as Miro1360 tutorial 07 but:
The expert backtest super, super slow. I compiled the expert in mql5 platform and it gave this error information.

I do not know what this means. Also why loading the indicator Horrick Prescot channel as it is not even part of the expert?
If I load the expert with the original indicator shved_supply_and_demand_v1.2 everything works perfect again.. I am confuse?My idea is to find the trend line of the Auto Trend Line indicator... so now I am stuck

Please can somebody help me out here, much appreciated!!
https://fxdreema.com/shared/EZU5NQXbe
0_1621400823284_1617820654778-autotrendlines-3.mq5 -
@alphaomega I guess the only one that can reply properly is miro himself, man! This is ultra advanced fxDreema for me!

-
-
@fxdreema I know you are a busy but while you moved this topic to the correct section, you maybe did not get the urge to change something inside the indicator so I could use the angled red and blue sup/res lines? Please and thank you!
Edit: The problem is .. there is no buffer in the indicator showing to those angle lines.. maybe some coder can add it?

-
Yes, these lines are printed like lines from the indicator, here is the function:

The red line has name Current_Support, the blue line has name Current_Resistance. You can deal with them as objects.
Here is something I just did: https://fxdreema.com/shared/mQVcuDd8d
Here are the results:

Unfortunately the times are nor very appealing, it's because they are converted to "double" values.
The angle is 0, I guess this is the case for trend lines.
I tried to get the value from candle in the future, but it gives me an error... I'm not sure if it's not possible or there is a bug. -
@fxdreema I am grateful to you taking the time to check this out. I have not look into what you did but read there is a timing issue.
You do know that the two angled trend lines does move as PA move right? So I do not think the timing will work quite well but what would work is if you can change the code for the angled trend line will look back at the candles already printed and then look into the future projected candles?This is an example of what I am talking about.. You could just copy the code and paste into the correct space at Autotrendlines? (maybe.. I don't know what you people eat to understand code because I don't .. lol)
This is something roar did but never finished although I think is has big potential
https://fxdreema.com/shared/dQjckUy3b
Please take a look.
edit::
-
@fxdreema Wow you guys think alike... I just looked at your link... It looks like exactly the same roar did!! Thank you..
-
@alphaomega I think you clicked the same link twice

I didn't know that the trendlines are moving. But they are just trendlines, what can you do with them? In my example I'm showing how to get some information from them.
-
@fxdreema Thanks so much for your patience and valuable time! I looked at your new creation.. but do not know how to implement it into my project and utilize the information. I am real sorry that I am to daft to understand, but I have attached my project for you to see that I am not getting anywhere with this new information.
https://fxdreema.com/shared/lJjGNehHc -
I forgot to answer your question... What can I do with them... check picture:
eurusd M5
Problem is I cannot see that angled trend-lines to use in the expert?