仕事が完了した
実行時間20 分
依頼者からのフィードバック
Highly recommended, Work delivered very fast and with 100% satisfaction,
指定
ON an EA (not for trading but only for reading buffers) which has a function SearchZigZagExtremums
I want this function to be converted into multi symbols multi period
below is my attempt to modify the free program which is available in mql codebase
//+------------------------------------------------------------------+ //| ZigZag EA(barabashkakvn's edition).mq5 | //| Copyright © 2009, Tokman Yuriy | //| yuriytokman@gmail.com | //+------------------------------------------------------------------+ #property copyright "Copyright © 2009, Tokman Yuriy" #property link "yuriytokman@gmail.com" #property version "1.002" //--- input parameters input string ____1___ = "Настройки индикатора ZigZag"; input int ExtDepth = 12; // Depth input int ExtDeviation = 5; // Deviation input int ExtBackstep = 3; // Backstep //--- //--- int handle_iCustom; // variable for storing the handle of the iCustom indicator #define RESET 0 int min_rates_total; int symbolCount; string symbolsList[]; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- min_rates_total=100; //--- indicator buffers mapping symbolCount=SymbolsTotal(true); if( ArrayResize(symbolsList, symbolCount) < symbolCount ) return (INIT_FAILED); //--- create handle of the indicator iCustom for(int i=0; i<symbolCount; i++) { symbolsList[i] = SymbolName(i,true); handle_iCustom=iCustom(symbolsList[i],Period(),"Examples\\ZigZag"); //--- if the handle is not created if(handle_iCustom==INVALID_HANDLE) { //--- tell about the failure and output the error code PrintFormat("Failed to create handle of the iCustom indicator for the symbol %s/%s, error code %d", symbolsList[i], EnumToString(Period()), GetLastError()); //--- the indicator is stopped early return(INIT_FAILED); } } //--- return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- //--- for(int j=0; j<symbolCount; j++) { symbolsList[j] = SymbolName(j,true); double array_results[]; if(!SearchZigZagExtremums(4,array_results)) return; double high=0.0,low=0.0; double room_0 = array_results[0]; // index 0 double room_1 = array_results[1]; // index 1 double room_2 = array_results[2]; // index 2 double room_3 = array_results[3]; // index 3 //--- находим верх и низ if(room_1>room_2) { high=room_1; low=room_2; } else { high=room_2; low=room_1; } Print(symbolsList[j], array_results[0]); Sleep(1000); } //--- } //+------------------------------------------------------------------+ //| Search for indicator extremums | //+------------------------------------------------------------------+ bool SearchZigZagExtremums(const int count,double &array_results[]) { if(!ArrayIsDynamic(array_results)) { Print("This a no dynamic array!"); return(false); } ArrayFree(array_results); ArrayResize(array_results,count); ArraySetAsSeries(array_results,true); int buffer_num=0; // indicator buffer number double arr_buffer[]; ArraySetAsSeries(arr_buffer,true); //--- reset error code ResetLastError(); //--- fill a part of the iCustom array with values from the indicator buffer int copied=CopyBuffer(handle_iCustom,buffer_num,0,100,arr_buffer); if(copied<0) { //--- if the copying fails, tell the error code PrintFormat("Failed to copy data from the iCustom indicator, error code %d",GetLastError()); //--- quit with zero result - it means that the indicator is considered as not calculated return(false); } int elements=0; for(int i=0; i<copied; i++) { if(arr_buffer[i]!=0) { array_results[elements]=arr_buffer[i]; elements++; if(elements==count) break; } } if(elements==count) return(true); //--- return(false); }
Goal : I want this program to be modified so it can read buffers
double room_0 = array_results[0]; // index 0 double room_1 = array_results[1]; // index 1 double room_2 = array_results[2]; // index 2 double room_3 = array_results[3]; // index 3
for each symbol existed in marketwatch and when i print
Print(symbolsList[j], array_results[0]);
I get results like
Symbol_1 buffer_for_Symbol_1 for PERIOD_1
Symbol_2 buffer_for_Symbol_2 for PERIOD_2
like this
応答済み
1
評価
プロジェクト
643
26%
仲裁
92
72%
/
14%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code
2
評価
プロジェクト
50
10%
仲裁
1
0%
/
0%
期限切れ
8
16%
暇
類似した注文
Hi Dev, I need a custom indicator/dashboard system built for MT4. I will send the reference .ex4 or .mq4 source files after you accept the job. IMPORTANT REQUIREMENTS: External Inputs: All values (Periods, Deviations, Colors, Timeframes) must be "External Variables" so I can change them manually. Visual Replica: The final chart must look EXACTLY like the attached screenshots. Timeframe Flexibility: The system must
HAJOSKI
30+ USD
BUY ALERT Supertrend turns Bullish Last time xSupertrend was bearish, there is a retracement on BBstops Last time XSupertrend was bearish, Price was < or = to MA1 Instrument is in trend (STEP MA and STEP MA 2 are both Bullish) SELL ALERT Supertrend turns Bearish Last time xSupertrend was bullish, there is a retracement on BBstops Last time XSupertrend was bullish, Price was < or = to MA1 STEP MA1 and STEP MA 2 are
I want a order block indicator mt5 which will give signals alerts.. Bearish order block blue bullish red .. with highs and lows reversal........ it should give arrows or dots for entry or something... and exit level... I show what I need in the picture
Tradingview indicator
30+ USD
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Indicator
30 - 300 USD
Hi guys looking for a reversal indicator that places signals in chart have a look at image attached but it's just for reference I'll be happy to hear new ideas and options. Signals must he placed at candle close amd not repaint. Since I'm offering a high budget and bringing a strategy is involved in the order I want everything to run smoothly in these steps 1. Send screenahots of it 2. I'll give you feedback what to
🔹 COMPLETE DEVELOPMENT ASSIGNMENT Institutional Volume & Structure Indicator Platform: MT5 (preferred) OR TradingView (Pine Script v5) Type: Indicator only (NO EA, NO auto trading) Purpose: Institutional analysis for manual trading & manual backtesting 1. GENERAL REQUIREMENTS Indicator only (no orders, no strategy execution) No repainting Auto update + auto remove logic Clean, modular, performance-safe code User
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Two EAs
30 - 100 USD
Hello, I will need one indicator in Tradingview converted to a strategy in MT5. The indicator is called ...Multi Kernel Regression [ChartPrime] Indicator. If the indicator says "BUY" then the EA buys, if the indicator says "SELL" then the EA sells. I will need another one that is a strategy in Tradingview converted to a strategy in MT5. "UT Bot Strategy". Two in total. Lets talk
Trade copierfor ninjatrader indicator
100 - 200 USD
I have build the trade copier for ninja trader as indicator. I need someone to fix the issue i am having or create new one similar to replicanto. here are my issue.. ### 1. Opposing Positions Across Multiple Accounts A counter trade violation occurs when you hold opposite directional positions (Buy vs. Sell) in the same symbol or product across different accounts. * *Example from your report:* In Violation #8
プロジェクト情報
予算
30+ USD