Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
Ziheng Zhuang  
The version v3.2--- 
1.added font size and row space settings for the strength figure.
2.added alert function when strength line cruss up 60 or cross down 40. 
Ziheng Zhuang  
版本 v3.2

1.增加强度数字的字体大小与行距

2.增加强度线上穿60,下穿40的预警。

黄色部分为新增加参数。

参数

  • BarsToCalculate - 要计算的K线根数
  • MaPeriodsToSmoothLines - 对强弱曲线做平滑处理的移动平均周期.
  • Suffix - 品种后缀
  • FontSize - 字体大小,默认是13.
  • RowSpace - 行距,默认是17.
  • AlertType - 这是四选一的选项,选择交叉后报警类型. NONE 意思是不报警. 其他则是交叉后报警的方式选择。
  • AlertSymbol - 选择报警所有品种还是当前品种。
  • Email - 是否发送邮件,即是否按照每个K线或者指定分钟数发送货币强度数据。
  • IntervalMinutes - 如果是0则每个新的K线发送一次,否则按照本参数指定的分钟数间隔发送。
  • CrossLevelSettings - 这是3.2版本的分割线
  • AlertType -  这是四选一的选项, NONE 意思是不预警。 
  • AlertCurrency  - 选择预警货币:所有八个货币或者当前图表的货币。
  • BarIndex - 0代表当前K线,意思是穿越发生在第一个K线与第二个K线之间。
  • CrossUpLevel - 向上穿越时预警的水平值,默认是60。
  • CrossDownLevel -  向下穿越时预警的水平值,默认是40。
[Eliminato]  

can..you..add..currency=XAU?

Ziheng Zhuang  
Saeid Nafar:

can..you..add..currency=XAU?


Sorry,I can't.

The algorithm prototype does not include XAU, it is impossible to change it now.

express.multiservices  
sir , i used one pair i want EUDUSD only one pair currency strength in display.what i do setting tell me
Ziheng Zhuang  
express.multiservices:
sir , i used one pair i want EUDUSD only one pair currency strength in display.what i do setting tell me


 Keep USD and EUR unchanged, set others to None.


ahmedsalahelyan  
I want the code of this indicator please

I want this pointer in mq4 format
gznice  
能不能加入人民币呀?谢谢
Ziheng Zhuang  
gznice:
能不能加入人民币呀?谢谢

我也想啊,问题是无法加入。

Ziheng Zhuang  
ahmedsalahelyan:
I want the code of this indicator please

I want this pointer in mq4 format

source code? sorry, that is impossible.

koboyu  
如果作为自定义指标调用,用iCustom()如何加参数,可以给个示例吗?
koboyu  
koboyu:
如果作为自定义指标调用,用iCustom()如何加参数,可以给个示例吗?
没事,解决了是我路径放在了
Ziheng Zhuang  
koboyu:
没事,解决了是我路径放在了


写下顺便给其他人参考。

//+------------------------------------------------------------------+
//|                                     test_callMarketIndicator.mq4 |
//|                                          Copyright 2018,fxMeter. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018,fxMeter."
#property link      "https://www.mql5.com/en/users/fxmeter/"
#property version   "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---

//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---

  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
//--call market indicator with default paremeters.
   double v=iCustom(NULL,0,"\\Market\\Currency Relative Strength",0,0);
   Comment("v = ",DoubleToString(v,2));
  }
//+------------------------------------------------------------------+

//---


Yan Chen  
请问能不能做个MT5的版本?
Ziheng Zhuang  
Yan Chen:
请问能不能做个MT5的版本?


能,最近比较忙。

23436258  
请问能不能增加选择周期的参数?谢谢
比如我想在30分钟图表加载D1的指标数据,现在没法设置,默认的是当前周期。
loginuras  

https://www.mql5.com/en/charts/9121384/nzdusd-4-h1-oanda-division1


The nzd currency is flat at 50% no matter what time frame.

Can you fix this?

Ziheng Zhuang  
loginuras:

https://www.mql5.com/en/charts/9121384/nzdusd-4-h1-oanda-division1


The nzd currency is flat at 50% no matter what time frame.

Can you fix this?


What suffix you input? it seems there is not NZDUSD data.

Try to open a NZDUSD chart to download its data.

I see that you are using 900 as BarsToCalculate, it is not necessairy, 90 is enough.

Please be informed that the input BarsToCalculate does not affect the result, it simply means how many bars for showing the result.

  • BarsToCalculate - Number of bars to calculate strength.

Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti