السلام عليكم ورحمة الله وبركاته
رمضان كريم
بفضل هذا الشهر الكريم ساعدوني الله يعطيكم الف عافيه
كيف استطيع وضع اوامر sellstop and buystop في الاكسبرت إذا تحقق ظهور السهم في هذا المؤشر (في المرفقات) كيف أربط هذا المؤشر بالاكسبرت //+------------------------------------------------------------------+
//| RU.mq4 |
//+------------------------------------------------------------------+
#property copyright "MSAM"
#property link ""
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Lime
#property indicator_width1 2
#property indicator_color2 Red
#property indicator_width2 2
#property indicator_color3 Yellow
#property indicator_width3 1
#property indicator_color4 Orange
#property indicator_width4 1
//---- indicator parameters
extern int ExtDepth=100;
extern int ExtDeviation=75;
extern int ExtBackstep=15;
//---- indicator buffers
double ZigzagBuffer[];
double HighMapBuffer[];
double LowMapBuffer[];
double ZigZagUp[];
double ZigZagDown[];
double zzL[];
double zzH[];
int level=3; // recounting's depth
bool downloadhistory=false;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
IndicatorBuffers(7);
//---- drawing settings
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0, 233);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1, 234);
SetIndexStyle(2,DRAW_ARROW);
SetIndexArrow(2, 233);
SetIndexStyle(3,DRAW_ARROW);
SetIndexArrow(3, 234);
//-