智能交易
在MetaTrader市场购买MetaTrader 4的'Gradient' 技术指标
人气:943  销量:0  评价:0
起批 1-30000件 30001件以上
价格 ¥3988.00 ¥10.00
物流 :3988.00  
库存 888888件
品牌 顺水的鱼外汇EA
  • 商品详情
  • 评价详情(0)
  • 交易记录(0)
  • 概述
  • 评论
  • 评论 (2)

Gradient

255 shades of profit. It is an original indicator for the metaTrader 4 terminal, which creates a chart background with transition form one color to another.

It has a minimum of code, so it has almost no effect on the terminal platform performance.

It also contains a function of the color temperature of profit: the background color changes depending on the ratio of current profit to the account balance. More negative values produce more red shades, positive values produce more shades of blue. The attached video shows how it works.

Six parameters are used to make the gradient fill of the background: three colors (RGB) for the upper border of the graph, and the three colors for the bottom. Values 0 to 255 are used (lower or higher values are automatically set to 0 or 255), the depth of the fill is controlled by the Depth parameter.

Set the Profit_Temperature to true, and the indicator will change the background color depending on the current profit relative to balance. Profit is usually a small percent of balance, so the indicator includes a parameter Precent_Balance - the percent of balance taken into account in the calculation of the color temperature.

To enable the color temperature in the visual testing mode, add the following line to the Expert Advisor code:

if(IsVisualMode())GlobalVariableSet("FGRADIENT",AccountProfit()/AccountBalance());

ta itemprop="image" content="https://c.mql5.com/31/61/gradient-screen-7437.png" />
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
加入购物车
立即购买