[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 525

 
Good afternoon forum members!!!

I have a question, is there any indicator that would signal the price to reach a certain level? i.e. put for example two signal lines, one above the price and the other below and when the price of one of the lines sounded signal (call).

I would like to have a signal (call) when the price reaches a certain level. Thank you.
 
Rover82 >>:
Добрый день форумчане!!!

У меня такой вопрос есть ли какой-нить индикатор, который бы сигнализировал о достижении цены определенного уровня? т.е. ставим например две сигнальные линии одна выше цены другая ниже и по достижении цены одной из линий раздавался бы сигнал (звонок).

Спасибо.

https://www.mql5.com/ru/code/8563#23830

https://www.mql5.com/ru/code/7993

https://www.mql5.com/ru/code/mt4/search/alert/4

 
costy_ >>:

https://www.mql5.com/ru/code/8563#23830

https://www.mql5.com/ru/code/7993

https://www.mql5.com/ru/code/mt4/search/alert/4

Thank you!

 
Urain >>:

Так формулы расчётов есть в разделе ТА, написать кто умеет кодировать как два пальца ...

Просто кому и зачем это нужно ?

You must have misunderstood, move the psi from hourly H1 to M5 without calculating on the last closed candle on H1, but on the current Period().

It's much more informative.

By any chance, has anyone seen functions like replacing the standard iClose(0,tf, iBarShift(0,tf,Time[i],false))
array generation for
iRSIOnArray

 
bliznec1986 >>:
сам еще не знаю как но нужны для анализа

Spectrometr // 2. point solved + It should only be triggered by the generated bar.

1. it won't work in µl4 at best in steps, it's easier to spread over your graph - TF.

 
Please advise:

There is an indicator that recognises patterns (putting a tick, conventionally, on Open). I want the Label (when hovering over the Label) to show the names of the pattern.

I tried it this way (it didn't work):
string s="";                      // задаем  переменную, отвечающую за имя

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()

  {
//---- indicators
  ............................
   SetIndexLabel (0,"Pattern: " +s "\n point of entrance: ");  // устанавливаем параметры для Label
  ............................ 
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
 
   if (High[i]>Low[i+1])               // прописываются условия паттерна
      {
       mark[i]=Open[i];                // определяет "метку" для паттерна
       s="Pattern #1";                 // задаем имя для паттерна
      } 
I know it's messed up somewhere. Can you tell me where exactly.........??????????
 
Azerus >>:
Подскажите, пожалуйста:

есть индикатор распознающий паттерны (ставящий галочку, условно, на Open). Я хочу, что бы Label (принаведении на метку) показывал названия паттерна.

Я попытался сделать таким образом (ничего не вышло):
Я знаю, что где-то напутано. Подскажите, где именно.........??????????




The int init() function is executed once before int start(), i.e. it has assigned an empty value in the tooltip s and passed control to the start function.

How to do ... use for each pattern a separate indicator buffer (up to 8) and assign to each a different tooltip,

or don't use buffers, use ObjectCreate( the pattern name,0, OBJ_TEXT (OBJ_ARROW) ...

 
Please advise how to apply the script to one pair and it will open an order on another pair.

Example:
I look at the usdchf chart and want to apply the script to this pair

extern double Lots=0.02;
void start()
{
int slippage=2;

OrderSend("EURUSD",OP_BUY,Lots,Ask,slippage,0,0,NU LL,0,0,CLR_NONE);
OrderSend("GBPUSD",OP_SELL,Lots,Bid,slippage,0,0,N ULL,0,0 CLR_NONE);

}

The result I want to see two orders on eurusd and gbpusd.
Doesn't work also if charts on these pairs are open.
Please help. Thanks in advance.
 
vasili >>:
Господа подскажите как сделать так чтобы применить скрипт к одной паре,а он открывал ордер по другой паре.

Пример:
смотрю я на график usdchf хочу применить скрипт к данной паре
extern double Lots=0.02;
void start()
{
int slippage=2;

OrderSend("EURUSD",OP_BUY,Lots,Ask,slippage,0,0,NU LL,0,0,CLR_NONE);
OrderSend("GBPUSD",OP_SELL,Lots,Bid,slippage,0,0,N ULL,0,0,CLR_NONE);

}

Результат который я хочу увидеть два ордера по паре eurusd и gbpusd.
Не работает таже если графики по данным парам открыты.
Помогите. Заранее благодарен.

See MarketInfo.

Files:
n-ooooooo.mq4  1 kb
 
Thank you very much costy.
Well, if you're up to it, maybe you can help me with this:
Gentlemen, advise me how to calculate (and then withdraw) the maximum possible number of orders (of all types ... including pending). I thought I would use marketinfo(), but this parameter is absent there.
I would like to use marketinfo() but it has no parameter.
Reason: