Download MetaTrader 5
To post a new topic, please log in or register
Hi All, Mind to share your experience here, what the difference between Live and Demo account others that Live account we are trading using real money to place a trade where demo account we are using "fake". What i am tring to ask,is there any disadvantages when testing a EA using Demo account?...
Is there Any Updated MQL5 Free Tutorial For Indicator? I'm looking for latest free tutorial in MQL5 about Indicator? I searched here but I only found 2010 old tutorial. 
I have a problem with setting input values for the AlgLib operation of RMatrixSolve. Aspecially, I don't know how to fill Input matrix (type CMatrixDouble) with my values. Hears a part of the code. Globals: double Res_1[4]; CMatrixDouble Mas_1(4,4); const int N=3; int info_LA;...
Good morning. I am preparing the logic about a new EA working with ZigZag indicator. The question is the following. Is there the possibility to fix an order at the ZigZag angle with a good precision? Can someone help me explaining how to do that?
  Indonesian Member  (3070   1 2 3 4 5 ... 306 307)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  Swing Trading ideas  (341   1 2 3 4 5 ... 34 35)
thread rules only daily charts any currency must Sl and TP try to explain trade reason No bickering
I have problem with drawing line in custom indicator at the calculation event.  If i draw a line in only just bar[1] = 20, bar[2] = 10 and [bar[3] = 11, the result is line at bar[0] and other bar up to rates_total is set to 0.0. double bar[]; //it's indicator buffer at calculation event:  bar[1] =...
  Forecast and levels for Dollar Index  (103   1 2 3 4 5 ... 10 11)
Dollar Index April-June 2017 Forecast: ranging correction W1 price is located above Ichimoku cloud in the primary area of the chart. The price is on secondary correction which was started in the beginning of this year by bouncing from 103.80/102.27 resistance levels to below. For now, the price is...
  Press review  (6050   1 2 3 4 5 ... 604 605)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
  Become an Author at MQL5.com!  (110   1 2 3 4 5 ... 10 11)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
I create a new custom symbol and import tick data to mt5. Check the folder and see some *.tkc files. ..\bases\Custom\ticks\EURUSD2\ So I close the MT5 client and restart the MT5, check the folder, all tkc files have been deleted. Why? I have to import tick data every time.
Hi all, I just recently activate my Email Alert in MT4. I set up the smtp using online service by GMX.com. Everything works great. Alert got sent to my email, etc. I am wondering whether this email alert thing works just like EA; that it will remain active as long as the Computer running the MT4 is...
  Traders Joking  (10417   1 2 3 4 5 ... 1041 1042)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
I would like to know why only CPU core are used in the Optimization of the expert while using the Strategy Tester.   May I know whether I can use GPU for the Optimization instead of the CPU?
Expert advisors, Indicators, Manual systems
hello master trader. Recently I learned trading strategy using trend line but I have difficult to identify trend. and that I want to ask. how to identify trend changes using trend line. as shown below the picture above is an example of a scenario for a trend change. of the two images above which are...
  Harmonic Trading  (5953   1 2 3 4 5 ... 595 596)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
  Daily Breakout EA  (122   1 2 3 4 5 ... 12 13)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Today i will discuss a strategy I work on it for 3 years . i like it very much and i acheive daily from it nearly 100 pips This strategy has a take profit and stop loss But profits are greater than loses several times Advantages of this strategy 1.you are with the trend 2.ratio between stop loss...
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
  Something Interesting to Read  (29   1 2 3)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
  CHI50Cash in EA?  (2)
Hi I'm totaly beginner on MQL5 an EA programming... Is possible to include _Symbol="CHI50Cash" as trading option? Or? I don't see that this is possible!?! Best regards J
For three months at mql5, I learned about trading technology for three months. I found that Mr. Sergei was an excellent trader and a conscientious administrator. I visited many of his posts, and the content on the blog, and learned a lot of trade skills. I want to create this thread and invite him...
  Signal Systems  (303   1 2 3 4 5 ... 30 31)
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
  Very Profitable System....-Roi system  (86   1 2 3 4 5 ... 8 9)
Hello!. I'm using this system alredy few monthes and this is very good. now I'm looking to make it Automatic, if someone can do it for me, I'll send him the Indicators and we will make EA together... SO, This is it: Enter Long: First sign,When the Violet up arrow apppers Second sign, when the price...
  Suggestions for Trading System  (134   1 2 3 4 5 ... 13 14)
Same idea as with other: if you have a good idea for a Trading System? Post here and we will develop it (all ideas will be evaluated first).
Does anyone have a generic EA script that uses separate conditions for Buy, BuyExit, Sell and SellExit that doesn't allow opening multiple orders in the same direction. With my limited script writing ability I should be able to customize the various buy and sell conditions.  
  Forecasting indicators  (332   1 2 3 4 5 ... 33 34)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
  Trading System by Xard777  (3873   1 2 3 4 5 ... 387 388)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
  Bermaui Analysis  (100   1 2 3 4 5 ... 9 10)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (304   1 2 3 4 5 ... 30 31)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
  MT5 real FUTURES broker  (14   1 2)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
Hi, today I encountered  an issue when comes to calculating the order's performance. Assuming I would have bought stocks at 100$ and sell 105$ the gain is 5% according to foll equation (sold price - buy price)/buy price*100 = 5.00% However, considering the following price history I would get a...
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
  Forecast and levels for Dax Index  (45   1 2 3 4 5)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
  Apple  (21   1 2 3)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
hello i reached in this poind which only way success is money managment i hope grow up an account from 10$ untill 100$ with money management and when i reach to it again grow it untill 1000$ regards
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
  McDonald's  (11   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Forecast and levels for Nikkei  (25   1 2 3)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Bovespa Index Technical Analysis 2016, 10.04 - 17.04: branging bullish with ascending triangle pattern to be formed for the bullish trend to be continuing Daily price is located above 100-day SMA (100 SMA) and 200-day SMA (200 SMA) for the bullish market condition with the ranging within the...
Hi there, I need someone to create an EA using a combination of support and resistance and an ADX (dashboard) indicator to use with , about 3 indicators, and these already have inputs...but i do not know how to code as yet, still teaching myself. Please advise if it would be possible to code those 3...
Hi, I was "playing" with hedging to explore possibilities : it's very tempting, since it allows purely & simply to recover from a bad position taken.  The risk of these strategies is well-known : lot management. Comes ALWAYS a point, where the margin is stressed, the logical solution being to accept...
  new expert  (2)
I have a system based on The RSI,&nbsp;two ma's (8 &amp; 4)&nbsp;and the McGinley Dynamic Indicator. I have changed some of the parameters of these from the defaults.&nbsp;I would like to have the system able to automatically open both short and long positions and then close them based on these...
Hi, I've searched for an 'upgrade' as I recently found that almost all Renko builders recalculate. I use Renko. The solution is to anchor it in time (set a start date) but i do not know how. I considered paid options but none release the source code. I get why but at the same time trust has to work...
Hello, Why does this script produce a out of range ? Thanks, Pierre //+------------------------------------------------------------------+//|                                                 stOutOfRange.mq5 |//|                        Copyright 2018, MetaQuotes Software Corp....
Hi, I'm looking to make an EA works with multiple currencies, there's a lot of indicator that show a meter based on a score or a index. Unfortunately, none of them's code is available. I've googled to find the formula, but ... didn't find nothing. Anyone knows such a formula please ?
hello, I've created a custom symbol from EUR/USD. In the backtest trades are working good but there are lots of errors "2018.04.21 18:13:02.839 Core 1 2008.10.29 01:02:00  no prices for symbol USDEUR_BASKET (1970.01.01 00:00:00 0.00000, 0.00000)"  although I use only the eur/usd and not...
#include<Trade\Trade.mqh>CTrade trade;void OnTick()   {      trade.Buy()   } What do I need to add/change to the code above so that it executes a buy order only once after I run the EA? I'm only newbie. Thanks!
HI.  I am running the following code for GBP/JPY: void OnTick() {   // get last tick   double last=SymbolInfoDouble(_Symbol, SYMBOL_LAST);   Print(last); or: MqlTick last_tick;    if(SymbolInfoTick(Symbol(),last_tick)) {       Print(last_tick.time,": Bid = ",last_tick.bid, " Ask = ",last_tick.ask...
Good Morning, Have someone please experienced this ? 1. Run a Strategy Tester of some Expert Advisor 2 Get the results via OPTIMIZATION RESULTS tab 3. Export to XML MS Excel 4. Open Excel and import XM file and get the error below Thanks in advance Regards, MRC ERRO XML em Tabela REASON...
Hi, I just switched from MT4 to MT5 and what a pain converting from MQL4 to MQL5. A major problem I cannot solve is how to have several orders (MT4) in the same symbol each with a different stop loss (SL). E.g. Order 1, buy opened at 1.22, SL 1.20 Order 2, buy opened at 1.25, SL 1.22 Order 3, buy...
Hi, I've stumbled upon EA Builder (www.eabuilder.com) and FxDreema (https://fxdreema.com). I suspect there are even more EA building tools out there. Which is best? Give your view here of which EA builder you prefer and why. I'll start - Between the two I checked out, I preferred EA Builder for its...
Hi all, I have written and currently run a mulit-symbol EA in MT4which monitors and trades a portfolio of appox 300 stock-CFD’s. I have effectively re-written it for MT5 because the brokerI now prefer, uses MT5 instead. The code uses a timer initiated For Loop which cyclesthrough the symbols, tests...
hey all, does anybody know of a way to automate the generation/export of account reports? I found an EA that has been performing well - HOWEVER, I still need to do further testing and observation in real-time. I'm running MT4 on a VPN, and originally thought I could simply get a program that...
Hi community, i have an expert with some gui objects, buttons, editfields, arranged below a rectangle. When the rectangle is dragged, all the objects in it are moved accordingly. I run this on MetaTrader 4 as well as on MetaTrader 5.  The code is pretty similar, except some details. Now the problem:...
hi forum members i have indicator for draws arrows automatically on chart i tried this for last two month the winning ratio of the indicator is high. this indicator we can use binary and forex trading also. but problem is the indicator not draws the arrows on chart. i have source code for that...
  Multi Timeframe Indicators  (12154   1 2 3 4 5 ... 1215 1216)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Hello, in the programming of my indicator i need the output data of two indicators, one of them is called X-ZZ.ex4 Use the iCustom function to call it, as follows: double valor=iCustom(NULL,0,"..\\Indicators\\X-ZZ.ex4",0,0,1); However i get an error in this line, saying not to recognize the file...
Is it possible to have one indicator draw simultaneously in chart window and in separate window?
Hello All, Inside the settings of this indicator is the option to show signals. When you do FX Fish will place buy, sell and exit indicators on the chart. This is different from the oscillator going from green to red crossing the 0 line. I'm hoping some kind soul can make a push alert so that when...
  Gann is the Man Indicators  (169   1 2 3 4 5 ... 16 17)
Here are a couple of interesting indicators from W.D. Gann (aren't they all?), as well as a link to his bio. W.D Gann Methods , Time and Price & Trading Experts *** Gann also studied and applied astrology to trading. Therefore, also included are a couple of astro indicators that wasn't available...
This would've been an excellent Triangle Indicator. Anyone wants to code this one and upload it online for free? Of course, this one must repaint.
  Signal_Bars_v7  (334   1 2 3 4 5 ... 33 34)
Signal Bars has come of age so i thought that i would start a new thread with the latest version This version Signal Bars v7 has some new features, the User can select which Timeframes they want displayed and the indicator can now be placed into any indicator window to help free up chart space. One...
The RSI Signal indicator plots buy\sell arrows when RSI crosses the overbought\oversold levels. It produces high probability reversals signals. It also alerts you when a signal is taking place. Download here: Great trading! as requested by Bossxero, the indicator is attached.
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
Hi, I have a recurring problem that happens on my MT5 indicators. When I open a new chart and attach the indicator to the chart, the history is sometimes still loading. That also happens when I change the time frame of the chart. When this situation occurs the indicators don't draw anything. On a...
Hello all, I need to calculate iMA from custom values, for instance Open-Close. I was able to get this only by creating a separate indicator that calculates Open-Close values. Partial code: // open-close calculation handlehoc = iCustom(_Symbol, _Period, "Custom\\oc");// MA of open-closehma =...
If I wanted to use MT4 or MT5 just as "dumb terminal" to place trades, i.e. not use the charting... then what could I place in the chart area that I could watch instead of charts to give me some interesting information - like a dashboard.
Hello I'm trying to find a Para SAR with a Trend Filter. For example, alert would show when Para changes direction but is above/below an EMA or multiple EMA levels. Does anyone know of one? Thanks!
  Experts: VFX London Breakout  (131   1 2 3 4 5 ... 13 14)
VFX London Breakout: Expert Advisor which trades breakouts in several pairs during the London Session. Author: Vinicius de Oliveira
Daily Pivot Points shifted for different day start time: This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday...
New article How to create a graphical panel of any complexity level has been published: The article provides a detailed explanation of how to create a panel on the basis of the CAppDialog class and how to add controls to the panel. It includes the description of the panel structure and a scheme of...
McGinley Dynamic Indicator: The McGinley Dynamic indicator is designed to follow prices, avoiding whipsaws that are given when conventional Moving Averages are used. Conventional Moving Averages have a fixed period and therefore a fixed speed. As a result, price separation occurs when the...
Self Optimizing RSI or MFI Trader: This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index...
New article How to build and test a Binary Options strategy with the MetaTrader 4 Strategy Tester has been published: Tutorial to build and test a Binary Options strategy in Strategy-Tester of Metatrader 4 with Binary-Options-Strategy-Tester utility from marketplace. The concept contains the...
BB MACD Extended: BB MACD is a MACD (Moving Average Convergence Divergence) indicator variation with an addition of Bollinger Bands, which helps in detecting trend change points and measuring current trend's strength. The indicator is separated into three parts: The "line" part which is the...
Weekly Fibo Levels: Calculation is based on current week open and previous week range. Due to its nature it probably best fits for a long term traders. Author: Mladen Rakic
  Experts: Lossless MA  (15   1 2)
Lossless MA: The EA opens trades at the intersection of the fast and the slow MAs. It has the function of outstaying the losses. Author: Vladimir Tkach
Martin for small deposits: Martingale based Expert Advisor specially designed for small deposits. Author: Vladimir Karputov
Waddah Attar Explosion: Indicator Waddah_Attar_Explosion is very powerful. It alerts you to buy , sell , exit buy and exit sell. Author: waddah attar
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
Stochastic Divergence: Divergence based on a standard Stochastic with Alert and language selection. The Stochastic is not required to be present on the chart. However, if a standard Stochastic is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the...
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
New article Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 is published: In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'....
hello double tickValue = MarketInfo(NULL, MODE_TICKVALUE);  EA strategy tester gives tickValue = 1 , instead of tickvalue in the deposit currecy So this instruction wont work while in strategy tester ? Thnaks
  GUI  (4)
Hello everyone, I'm not making any progress with this code atm. If I attempt to modify the code "Forum_Test" = "Indenifier not declared ". My question. CForum_Test can see variables, but Forum_Test.Run() will fail. I'm still trying to understand classes....
#property copyright "Ch Le"// External variablesextern double Lots = 0.01;extern double StopLoss  = 300;extern double TakeProfit = 600;extern int Slip = 3;extern int MagicNumber = 123;// Global variablesdouble M15Ema5, M15Ema20,H1Ema5,H1Ema20,H1Ema100;int CounterUp600520,CounterDown600520;int...
I draw a horizontal line at 1.3000 price level. I would like to have a sample code which send a market order at this price level when price cross that horizontal line. OrderType and LotSize will be specified in description of the line. Thank you very much! 
Would just like to ask why in the following code: void OnTick(){   double MyPoint;   if(Digits==3 || Digits==5) MyPoint=Point*10; , why the Point*10? It was generated by a certain code generator. Mainly used to multiply the MyPoint to the inputted Take Profit to convert it into pips. Thank you in...
Hi, i have a question. I have to do this  If a check shows that there are insufficient funds to perform a trade operation, it is necessary to output an error message to the log instead of calling the OrderSend() function. So i use that code from here https://www.mql5...
I have problem with drawing line in custom indicator at the calculation event.  If i draw a line in only just bar[1] = 20, bar[2] = 10 and [bar[3] = 11, the result is line at bar[0] and other bar up to rates_total is set to 0.0. double bar[]; //it's indicator buffer at calculation event:  bar[1] =...
Hi everybody, I'm wondering if there is a way to convert DT oscillator (attached) to a function, such as this: double calculateDT(int timeframe, int PeriodRSI, int PeriodStoch,int PeriodSK, int PeriodSD,int MAMode,int line,int shift) { // //here is the codes // } here is the main "start" section...
Hi everybody, Please note that I have a great work coded in MT4. But I have this puzzle of the error 4108 as you can see below   This error I have searched everywhere in this forum and others' forums but I found no one have totally got the final answer and was happy! all people says to don't select...
hello, I have installed mt4 on my google drive in portable mode, so I can use it on my desktop and laptop{, not at the same time}. now the problem with my mt4 is... 1} I open mt4 in desktop, enter my login details and it works fine. after this I close my mt4, give some time to update all files to...
Hello Everybody.   this message istranslated from french to english via the google translation service. I'm sorry ifyou find some errors.   I am a beginnerin programming, I just studied the language mql4. I'm training on designing some basic functions. I want toprogram a very easy code:  I want...
Hi, Hello, I'm trying to introduce an equity control within code of ea to improve it.  For example imagine I have an ea called EA1 ; this one will trade in min Lots with its own MagicNumber EA2 will trade with regular Lots, different MagicNumber, same conditions as EA1 plus one: only allow trade if...
Hi there, Following a similar pattern I've used in an EA, I have the following code at the top of an Indicator .mq4 file: ...//---#include <gwDeltaCache.mqh>//---CDeltaCache *DeltaCache;bool isInitialLoad=true;... However, when I do something like change the timeframe, OnDeinit() is called and...
I am trying to connect MT4 to SQL Server according to the following link (https://www.mql5.com/en/articles/1533).  When I try to compile a basic script to import the dll, I get 'msado15.dll' - #import was not closed.  #property copyright ""#property link      ""#property version   "1.00"#property...
I am trying to retrieve the value of the highest point and lowest point of a moving average over the last 20 bars.  Simple, if this was an excel spreadsheet. This is as close as I have been able to get. No Errors, but when  MaxValue>MinValue is used as a BUY or SELL condition, it prevents all orders...