Can a broker change an asset stop level? [SOLVED]

 

Hi all.


The Stop Level of an asset can change by broker or it's every the same ?


If i use the  MarketInfo(_Symbol, MODE_STOPLEVEL)  function to get the current stop level, i need to use it:

  1. Just one time, in initialization function ( OnInit function )... in this case, i am presuming that brokers do not change an asset stop level 
  2. Every time, in OnTick/OnCalculate functions... in this case, i am presuming that brokers can change an asset stop level 
 
Broker determines it, so broker can change it.
 
whroeder1:
Broker determines it, so broker can change it.

Tx my friend!

 
whroeder1: Broker determines it, so broker can change it.

Also you can't call Market Info functions in OnInit as the terminal may not be connected yet and the chart updated. You must wait for OnTick. In indicators, wait for OnCalculate, call it, check the result, and return if not yet valid.