工作已完成
执行时间3 天
客户反馈
very professional and fast programmer. Recommended!!!!
员工反馈
Thanks for giving orders, a pleasure to work with the customer!!!
指定
Hello everyone. I wrote this simple code. I would like to know, if it is possible to store the signals that come out on the graph. If I close the MT4, when I open it again, I would find the old stored signals. I will not use the "for loop", because it rewrites the signals in the historic. Thanks, Max.
//--- indicator settings #property indicator_chart_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 1 #property indicator_color1 Green #property indicator_type2 DRAW_ARROW #property indicator_width2 1 #property indicator_color2 Yellow extern int Ritardo_Secondi=10; datetime time_alert; //used when sending alert //--- indicator buffers double Buffer1[]; double Buffer2[]; int Period1=2; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorBuffers(2); SetIndexBuffer(0,Buffer1); SetIndexEmptyValue(0,0); SetIndexArrow(0,108); SetIndexBuffer(1,Buffer2); SetIndexEmptyValue(1,0); SetIndexArrow(1,108); return(INIT_SUCCEEDED); } //________________________________ 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[]) { int i=0; if(Buffer1[i]!=0) { Buffer1[i]=Low[i]-10*Point(); } if(Buffer2[i]!=0) { Buffer2[i]=High[i]+10*Point(); } static datetime BarStart=0; static bool check=false; if(BarStart!=Time[2]+Period()*120) { BarStart=Time[2]+Period()*120; check=true; } if(check && TimeCurrent()>=Time[2]+Period()*120+Ritardo_Secondi) { check=false; //Inserisci condizioni //Indicator Buffer 1 if(iRSI(NULL,PERIOD_CURRENT,Period1,PRICE_CLOSE,0)<40 ) { Buffer1[0]=Low[0]-10*Point(); } //Indicator Buffer 2 if(iRSI(NULL,PERIOD_CURRENT,Period1,PRICE_CLOSE,0)>60 ) { Buffer2[0]=High[0]+10*Point(); } } return(rates_total); } //-----------------------------------------------------------------------------------------------------------------------------
If I close the MT4 at this time, when I open it again I have to find the same situation
and NOT one presented in picture 2
反馈
1
等级
项目
1056
40%
仲裁
47
49%
/
23%
逾期
84
8%
空闲
2
等级
项目
205
41%
仲裁
17
29%
/
71%
逾期
45
22%
空闲
3
等级
项目
69
9%
仲裁
18
11%
/
56%
逾期
18
26%
空闲
4
等级
项目
2
0%
仲裁
1
0%
/
100%
逾期
0
空闲
5
等级
项目
1033
44%
仲裁
50
8%
/
50%
逾期
117
11%
空闲
6
等级
项目
156
44%
仲裁
22
41%
/
14%
逾期
16
10%
空闲
7
等级
项目
144
38%
仲裁
67
15%
/
48%
逾期
55
38%
空闲
相似订单
Conversion from .txt to a functional robot
30 - 40 USD
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding
项目信息
预算
10 - 15 USD
VAT (22%):
2.2
- 3.3
USD
总计:
12.2
- 18.3
USD
开发人员
9
- 13.5
USD
截止日期
从 2 到 5 天