kvak wrote: Fri Mar 11, 2022 11:02 am
Indicator have trend buffer,whitch EA may use it too I think....But question is,you want use it with dsl levels or simple MA cross like on picture? VQ with signals is in forum shared with source code....
Yes one can use trend data. The code to select the entry in the trend is more complicated though. If you have an object (that has some double value based on the indicator chart) drawn with the buffer at a specific time, you can with the EA just listen to that buffer. Whenever the object isnt there, the buffer is empty, and you have no entry. Basicaly, whenever there is a value, there is an entry.
But with the trend, there is a value all the time, and you always have to look back to previous bar and look if the trend has changed. The anomaly that sometimes the previous value isnt quite what you see on the indicator line just makes it harder. Its not impossible, its just not completely reliable.
I've been looking for a replacement entry indicator, as my current one,
volatility-quality-indicator2, is suspect of repainting. Ironically, this one has arrows in the indicator window itself and reading the entries is a treat.