1double price=ObjectGetValueByShift("MyTrendLine#123", 11); ObjectMove() – 移动对象 1bool ObjectMove(string name, int point, datetime time1, double price1) 本函数在图表中可以移动一个对象的坐标。对象可能根据他们的类型有一个到三个坐标。如果函数执行成功,返回TRUE,否则,FALSE。 对象坐标从0开始。
Graphical objects can have various properties depending on the object type. All objects used in technical analysis are bound to the time and price coordinates: trendline, channels, Fibonacci tools, etc. But there is a number of auxiliary objects intended to improve the user interface that are bou...
Trendline Calculator EA I am so happy! I only drew some multiple trendlines on my charts and John from MTProgramming.com have turned it into a working EA! John also integrated the EA with email notifications, so I always get informed of everything when I'm not on my system. Thanks for...
Once you have these, nothing stops you from checking bar by bar and compare the price range of that bar against the price value of your line. Functions you can make use of are:ObjectCreate()andObjectGetValueByShift(). Once you find the bar that the line touches, simply change the secon...
Example: doubleprice=ObjectGetValueByShift("MyTrendLine#123", 11); See also ObjectGetShiftByValue() ObjectGetShiftByValueObjectSet
boolGetWindowPlacement(inthWnd,int& lpwndpl[]); intGetWindowLongA(inthWnd,intGWL_STYLE); yo // credit goes to Dmitry Fedoseev intm[11]; intp[11]; inth=WindowHandle(Symbol(),Period()); intx=GetWindowLongA(h,-8); boolz=GetWindowPlacement(h,m); ...
Laguerre MetaTrader indicator — a completely custom indicator that doesn't rely on the standard MT4/MT5 indicators. It shows the weighted trendline in the separate window of the chart. It can be used for simple entry and exit signals. The indicator is available for both MT4 and MT5. ...
Trendline Calculator EA I am so happy! I only drew some multiple trendlines on my charts and John from MTProgramming.com have turned it into a working EA! John also integrated the EA with email notifications, so I always get informed of everything when I'm not on my system. Thanks for...
1 double price=ObjectGetValueByShift("MyTrendLine#123", 11); ObjectMove() –移动对象 1 bool ObjectMove(string name, int point, datetime time1, double price1) 本函数在图表中可以移动一个对象的坐标。对象可能根据他们的类型有一个到三个坐标。如果函数执行成功,返回TRUE,否则,FALSE。 对象坐标从0开...
Example: intshift=ObjectGetShiftByValue("MyTrendLine#123", 1.34); See also ObjectGetValueByShift() ObjectGetFiboDescriptionObjectGetValueByShift