Thank you mLaden, I almost did the same when trying, but I used UnidqueID, and not uniqueID+...I understand now why...well, almost.
Anyway, being a coding genius, I've added the possibility to change line colours and thickness....I can change the colours but the line thickness is changed only for 1 line and secondly, it does not let me use the MTFwith different IDs anymore. Geez...I'm never going to follow your footsteps, this I know for sure! Could you be so kind and have a look at the mess I have created. Thank you!
Here you go : ind-wsodwroatrend_line_mtf_1.02.mq4
Ok, I see. Thank you mLaden...Still facing one issue though.....the thickness of the line is only adjusted at colour 1 but not colour 2. For example, if I set it to 3, then Red will be 3 but Blue will still be 1. The reason I don't know. I'm sorry if I nerve you, just want to get this finished. Thank you!
Check line 51 of the code
The attached indicator is based on bollinger bands theorem, however, it gives only entry and exit signals. In fact, I tested it, individually, and it gave me 60-70% success, and sometimes even more. From I can see the coding is not repainting, however, I guess it is not good writing.
I would appreciate if you can improve its codes and make it MTF with usual alerts.
Thanks in advance.
That indicator would need a complete rewrite to be code efficient
If it is not slowing down you terminal (as far as I see it is limited to 1000 bars) then why not using it as is?
No Mladen it is not slowing down my terminal, however, do you thank it dose not deserve to be modified, and even to add MTF
Frankly I hate rewriting indicators that have lines like these
SetIndexBuffer(2, uupbuy); SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(3, ddnsell); SetIndexStyle(5, DRAW_NONE);
in the code (see the buffer numbers, and that buffers 4 and 5 are never used, among other things). Multiple reasons but, after all these years, the main reason is that I found that it is better to have the logic explained first and then make a clean code of such cases since from the code it is never clear "what did the writer want to tell"
I understand no problem at all,
Thanks again great man,
Ok, got it! Added Line Style too. Having never touched a code it feels like a landing on the moon....lol...Thanks a lot for your support and patience.