Auftrag beendet
Ausführungszeit 3 Minuten
Bewertung des Entwicklers
Good customer. Thank you for your order!
Bewertung des Kunden
very professional programmer !!!!!
Spezifikation
Hi, I wrote this simple code where the alert will appear after 10 seconds after the opening of the bar. I would like to know if you can have 10 real seconds after the end of the bar and not wait for the start of the new bar. (Time [0]).
//+------------------------------------------------------------------+ //| Delay_Alert.mq4 | //| Copyright 2016, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ //--- indicator settings #property indicator_chart_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 1 #property indicator_color1 0xFFAA00 #property indicator_label1 "Buy" #property indicator_type2 DRAW_ARROW #property indicator_width2 1 #property indicator_color2 0x0000FF #property indicator_label2 "Sell" int CurrentTime; int extern Period1=2; //--- indicator buffers double Buffer1[]; double Buffer2[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorBuffers(2); SetIndexBuffer(0, Buffer1); SetIndexEmptyValue(0, 0); SetIndexArrow(0, 241); SetIndexBuffer(1, Buffer2); SetIndexEmptyValue(1, 0); SetIndexArrow(1, 242); 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[]) { static datetime BarStart=0; static bool check=false; if(BarStart!=Time[0]) { BarStart=Time[0]; check=true; } if(check && TimeCurrent()>=Time[0]+10) { check=false; //Check Condition //Indicator Buffer 1 if(iRSI(NULL, PERIOD_CURRENT, Period1, PRICE_CLOSE, 0) < 40 ) { Buffer1[0] = Low[0] - 10* Point(); } else { Buffer1[0] = 0; } //Indicator Buffer 2 if(iRSI(NULL, PERIOD_CURRENT, Period1, PRICE_CLOSE, 0) > 60 ) { Buffer2[0] = High[0] + 10 * Point(); } else { Buffer2[0] = 0; } } return(0); } //-----------------------------------------------------------------------------------------------------------------------------
Bewerbungen
1
Bewertung
Projekte
69
9%
Schlichtung
18
11%
/
56%
Frist nicht eingehalten
18
26%
Frei
2
Bewertung
Projekte
34
29%
Schlichtung
0
Frist nicht eingehalten
1
3%
Frei
3
Bewertung
Projekte
341
58%
Schlichtung
7
14%
/
71%
Frist nicht eingehalten
9
3%
Frei
4
Bewertung
Projekte
218
50%
Schlichtung
6
17%
/
67%
Frist nicht eingehalten
11
5%
Frei
5
Bewertung
Projekte
187
54%
Schlichtung
3
33%
/
33%
Frist nicht eingehalten
6
3%
Frei
6
Bewertung
Projekte
314
49%
Schlichtung
42
52%
/
19%
Frist nicht eingehalten
22
7%
Frei
7
Bewertung
Projekte
1438
62%
Schlichtung
21
57%
/
10%
Frist nicht eingehalten
43
3%
Frei
8
Bewertung
Projekte
144
38%
Schlichtung
67
15%
/
48%
Frist nicht eingehalten
55
38%
Frei
9
Bewertung
Projekte
156
44%
Schlichtung
22
41%
/
14%
Frist nicht eingehalten
16
10%
Frei
10
Bewertung
Projekte
547
25%
Schlichtung
21
38%
/
38%
Frist nicht eingehalten
83
15%
Arbeitet
Ähnliche Aufträge
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
Projektdetails
Budget
10 - 15 USD
MwSt (22%):
2.2
- 3.3
USD
Insgesamt:
12.2
- 18.3
USD
Für die Entwickler
9
- 13.5
USD
Ausführungsfristen
von 2 bis 5 Tag(e)