samjesse:
Hi
This code needs to create a trend line and extend it to the right chart boarder regardless of the shift button action. it works but not an elegant solution, Any suggestions? Thanks
Is there a particular reason that you need it to end at the right border?
If not just use Ray
ObjectSetInteger(0,dayPivotLineName,OBJPROP_RAY,true);
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
This code needs to create a trend line and extend it to the right chart boarder regardless of the shift button action. it works but not an elegant solution, Any suggestions? Thanks