PolyLines
- Utilities
- Felipe Monteiro Rodrigues
- Version: 1.0
Don't forget to comment and rate if you like the product!
PolyLines is a drawing tool for MetaTrader 5 that transforms isolated trendlines into an intelligent, connected polygonal structure. Unlike native tools, it allows node manipulation and automatic property synchronization across the entire set.
1. Creation and Extension
-
Start: Draw a native MT5 trendline on the chart.
-
Extend: Click on one of the endpoints (nodes) of the line to "pull" a new segment. Each new click creates a new leg connected to the group.
2. Manipulation and Moving
-
Adjust Nodes (Joints): Click and drag connection points. The system identifies all lines starting from that node and moves them simultaneously, keeping the drawing together.
-
Move Group: Click and drag by the center of any line to shift the entire geometric structure without deforming it.
-
Smart Scroll: During dragging, chart scrolling is locked to prevent accidental distortions.
3. Editing and Synchronization
-
Properties: If you change the color, width, or style of any individual segment, the controller will automatically apply that change to all other lines in the same group.
4. Deletion and Pruning
-
Pruning (Double-Click): To erase only the "tip" of a drawing, double-click the desired segment. The system uses temporal logic to remove the most recent end in that direction.
-
Total Deletion: Select the group and press the ESC key, or manually delete any segment; the system will perform a cascade deletion to clear the entire group.
