MQL4参考 图表操作 ChartPriceOnDropped

ChartPriceOnDropped

Returns the price coordinate corresponding to the chart point the Expert Advisor or script has been dropped to.

double  ChartPriceOnDropped();

Return Value

Value of double type.

Example:

   double p=ChartPriceOnDropped();
   Print("ChartPriceOnDropped() = ",p);

See also

ChartXOnDropped(), ChartYOnDropped()