ファンクションズ・インジケーター・アングル
3件の返信
Can someone explain me what Functions Indicator Angle mean?
Example, When i set
Indicator: Simple Moving Average
Period: 3
Coefficient: 0.00005
What Value that function will return?

0
こんにちは,
when you place a moving average on a chart for example you can see with an uptrend it raises up under a certain angle. This is the value this indicator “tries” to return. Please keep in mind it is tricky. Angle depends on the zoom of your chart, it is not absolute value only relative. But you can experiment with certain input values and report back your experience with this function
0
Thanks you,
I will try some input value…
0
こんにちは、,
I want to use EMA slope as regime filter, the MT5 code logic as below, but I create the sqx block code, it seems not work. Cloud you give me some advice?
***********************************************
MT5 CORE CODE:
bool GetEMAAngle_PriceNorm(int shift, int lookback, double &angle)
{
double now, prev;
if(!GetBufferValue(emaHandle, shift, now)) return false;
if(!GetBufferValue(emaHandle, shift + lookback, prev)) return false;
if(prev <= 0.0) return false;
double slope = (now – prev) / (lookback * prev);
angle = MathArctan(slope) * 180.0 *1000 / M_PI;
return true;
}
***********************************************
SQX codeEditor
0
3件の返信を表示中 - 1 - 3件目 (全3件中)