I am looking to synchronize support and resistance levels on different timeframes, i.e. support added on one time frame appears on all the other timeframe charts
Hello,
How you have added resistance levels on chart? Like horizontal line or rectangle box?
Is there a way to choose to clone only certain types of objects and ignore the rest? Also, how would I clone the objects visibility properties as well because it seems the the cloned objects visibility setting is not copied over and must be manually set again on the other charts.
Many thanks
Is there a way to choose to clone only certain types of objects and ignore the rest? Also, how would I clone the objects visibility properties as well because it seems the the cloned objects visibility setting is not copied over and must be manually set again on the other charts.
Many thanks
Hello, yousurfer.
If you want select objects by some of property you can add it in this function
string CCopyObject::CreateMessage(long chart) { string result = NULL; int total = ObjectsTotal(chart, 0); for(int i=0;i<total;i++) { string name = ObjectName(chart, i, 0); // // if(!( check object property to copy) ) // if you don't want to copy this object // continue; // go to next object // switch((ENUM_OBJECT)ObjectGetInteger(chart,name,OBJPROP_TYPE)) { case OBJ_HLINE: result+="{NAME="+name+"|TYPE="+IntegerToString(OBJ_HLINE)+"|"+HLineToString(chart, name)+"}"; break; case OBJ_VLINE: result+="{NAME="+name+"|TYPE="+IntegerToString(OBJ_VLINE)+"|"+VLineToString(chart, name)+"}"; break; case OBJ_TREND: result+="{NAME="+name+"|TYPE="+IntegerToString(OBJ_TREND)+"|"+TrendToString(chart, name)+"}"; break; case OBJ_RECTANGLE: result+="{NAME="+name+"|TYPE="+IntegerToString(OBJ_RECTANGLE)+"|"+RectangleToString(chart, name)+"}"; break; } } return result; }
Regards,
Dmitriy.
Hello, first of all thank you for your amazing product. I use 2 dynamic horizontal lines, which follows price movement directly(100%). One is 500point higher than price, another one is 350 point higher than price. When applying this synchronizer those two lines are blinking very fast.
It is very uncomfortable to see chart. How to solve it? Thank you

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Synchronizing several same-symbol charts on different timeframes has been published:
When making trading decisions, we often have to analyze charts on several timeframes. At the same time, these charts often contain graphical objects. Applying the same objects to all charts is inconvenient. In this article, I propose to automate cloning of objects to be displayed on charts.
The indicator operation can be divided into two blocks.
Author: Dmitriy Gizlyk