How to specify PRICE_TYPICAL in the EA

Created at 22 Jan 2022, 04:20
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
VY

vypchela

Joined 22.01.2022

How to specify PRICE_TYPICAL in the EA
22 Jan 2022, 04:20


How to specify PRICE_TYPICAL in the EA

double ma = iMA(NULL, 0, MA_Periods, 0, 3, PRICE_TYPICAL, i);


@vypchela
Replies

PanagiotisCharalampous
24 Jan 2022, 08:05

Hi vychela,

Typical price is not available as a built in feature. You need to develop a custom indicator to calculate it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous