2评论

1收藏

复盘工具指标

avatar 瑞子 | 1429 人阅读 | 2 人评论 | 2023-05-28

#property link      ""
#property version   "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_plots   1
//--- plot Label1
#property indicator_label1  "Label1"
#property indicator_type1   DRAW_LINE
#property indicator_color1  clrSpringGreen
#property indicator_style1  STYLE_SOLID
#property indicator_width1  1
//--- input parameters
input int      Input1;
//--- indicator buffers
double         Label1Buffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int SignalBS =0;
datetime startTime=NULL, endTime = NULL;
color    SignalPriceBUY = Yellow;
color    SignalPriceSELL = Cyan;
double startPrice, endprice;
int OnInit()
  {
//--- indicator buffers mapping
   SetIndexBuffer(0,Label1Buffer);
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {


复盘工具指标.mq4

售价1个金币

""
还没有人打赏,支持一下

评论|共 2 个

刘人杰

发表于 2023-10-7 11:15:15 | 显示全部楼层

雨量

发表于 2023-11-10 17:46:33 | 显示全部楼层

您需要登录后才可以回帖 登录 | 注册 微信登录

EA之家评论守则