Forum

Error creating indicator over another indicator...

Dear, I can create the DEMA over the MA, but I can't create it over the SAR. If I do: int hnd1 = iSAR ( _Symbol , PERIOD_M1 , 5 , 20 ); int hnd2 = iMA ( _Symbol , PERIOD_M1 , 5 , 2 , MODE_SMA , PRICE_CLOSE ); if ( iDEMA ( _Symbol , PERIOD_M1 , 9 , 5 , hnd1) == INVALID_HANDLE ) Print

Abnormal behavior, after MT5 build 2170, compiling files outside MQL5 directory.

Dear, Before MT5 build 2170 I compiled files outside MQL5 directory normally, then I was doing my develop work in a external directory as my git repository. Unfortunately, now (after build 2170) when I try compile a file outside MQL5 directory I get several crazy erros. Sample code: #include

Error creating indicator instance over SAR handle!!

Dear, As we know, we can instantiate some indicators on other indicators. As an example, we can choose the DEMA indicator , its documentation (https://www.mql5.com/en/docs/indicators/idema) says: applied_price [in] The price used. Can be any of the price constants ENUM_APPLIED_PRICE or a handle of