ShiftObject
Shifts a graphical object.
bool ShiftObject(
datetime d_time,
double d_price
)
|
Parameters
d_time
[in] Increment of the time coordinate of all anchor points.
d_price
[in] Increment of the price coordinate of all anchor points.
Return Value
Example:
//--- example for CChartObject::ShiftObject
#include <ChartObjects\ChartObject.mqh>
//---
void OnStart()
{
CChartObject object;
datetime d_time;
double d_price;
//--- shift chart object
object.ShiftObject(d_time,d_price);
}
|