pascalboy
pascalboy
pascalboy
Added topic CLOSE ORDERS AT SPREAD LEVELS
extern bool macdzirve,macddip,RSIzirve,RSIdip,CCIzirve,CCIdip; int start() { double macd= iMACD ( Symbol (), 0 , 12 , 26 , 9 , 0 , 0 , 0 )* 10000 ; double RSI= iRSI ( Symbol (), 0 , 14 , 0 , 0 ); double CCI= iCCI ( Symbol (), 0 , 100 , 0 , 0 ); if
pascalboy
Added topic logical confusion
Thare are two expert diagrams below. The logics are the same but results are different. and "C" output must be the same but they differ. Is there anyone to explain it? I have real examples about them . The results always differ. 1. EXAMPLE
pascalboy
Added topic VARIABLE DECLARATION
//FIRST PROGRAM extern int K=80; extern int D=10; extern int S=15; extern double A,B,C; int start() { double stoccurrM=iStochastic(Symbol(),0,K,D,S,0,0,MODE_MAIN,0); double stocprevM=iStochastic(Symbol(),0,K,D,S,0,0,MODE_MAIN,1); double
pascalboy
Added topic difference between buffers
Hi, Let us say in an indicator there are three buffers. Can we attend buf_0 (i) minus buf_1 (i-1) to buf_2 (i). Buf_2(i)=buf_0(i)-buf_(i-1). It says out of range error. Why? Notice time difference . (i), (i-1)
pascalboy
Added topic TIME DIFFERENCES BETWEEN ORDER OPEN AND CLOSE TIMES
extern int K= 100 ; extern int D= 25 ; extern int S= 45 ; extern int P= 4 ; extern double Min= 1000 ; extern double Max; double MaxBalance; int Lots= 1 ; double k= 1 ; bool mevcutstr; bool yenistr; int start() { int ticket; double stoccurrM=
pascalboy
Added topic metatrader opens mql5 language editor why?
metatrader opens mql5 language editor why
pascalboy
Added topic taking variables
Hi, Is it possible to take variables from scripts,indicator or expert files for using in an other program(ea)
pascalboy
Added topic difference between timeframes
On real trade, And if you are using just ask and bid prices in ea for desicions. Does conclusion of ea differ on different timeframes? If you use demo account does it differ
pascalboy
Added topic Is there any difference between while and if operators.
If you use while in place of if or vice versa. Does it make difference
pascalboy
Added topic 4051 ,1 errors,etc
int start() { //IF ORDER'S TOTAL NUMBER BELOW TWO OPEN PENDING ORDERS   while ( OrdersTotal ()< 2 ) {    int Emiral= OrderSend ( Symbol (),OP_BUYSTOP, 0.1 ,Ask+MarketInfo( Symbol (),MODE_STOPLEVEL)* Point , 3 ,Ask- 500 * Point
pascalboy
Added topic pending orders to market orders ........
When i open a pending order it produces ticket number,ordertype etc.and can learn them with orderselect function . But after the pending order realizes and it becomes a market order,does its ticket number,ordertype change and becomes a new order?and
pascalboy
Added topic Modification Does Not Work I think
int start() { //PIYASADA EMIR YOK ISE İKİ ADET EMİR AÇ //MEVCUT BIDIN //20 PIPS ASAGISINDA SATIM EMRİ AÇ //20 PIPS YUKARISINDA ALIM EMRI AÇ //1000 PIPS TP //500 PIPS STOPLOSS RefreshRates(); double XAL=MarketInfo( Symbol (),MODE_ASK); double
pascalboy
Added topic why does not while break work?
int start() { //PIYASADA EMIR YOK ISE İKİ ADET EMİR AÇ //MEVCUT BIDIN //20 PIPS ASAGISINDA SATIM EMRİ AÇ //20 PIPS YUKARISINDA ALIM EMRI AÇ //1000 PIPS TP //500 PIPS STOPLOSS RefreshRates(); double XAL=MarketInfo( Symbol (),MODE_ASK); double
pascalboy
Added topic ERROR 138
int start() { RefreshRates(); double XAL=Ask; int EMIR= OrderSend ( Symbol (),OP_BUY, 1 , 3 ,XAL+ 20 * Point ,XAL- 1000 * Point ,XAL+ 500 * Point , 0 ); return ; } iI am triying to open pending order 20 pips above the ask price. But always gives
pascalboy
Added topic HISTORICAL PRICES
I need 2010-2011 historical prices for eur /usd m15 and h1 datas . where can i get
pascalboy
Added topic MQL4 M1 DATAS
On the MetaTrader 4 platform . there are no m1 datas for program testing
pascalboy
Added topic switch does not work?
at the below program. case zero does not work and Alert ( "ITERATION................0" )  does not realize. but case 1 occurs continuously. why does not case zero does not work ? //VELOCITY// ////////////////////////////////////////////
pascalboy
Added topic last 10
can i attend last 10 bid and ask prices to and array. Sample code
pascalboy
Added topic DOW POINTS
Below there is a program to draw vertical lines at the second bottom point which are higher than the previous bottom. (It is like dow theory . It will find bottoms and compare themselves and draw verticals to the second bottoms at the uppertrend )
pascalboy
Added topic for cycle problem -at the red sections there are calculations but does not calculate.
 Below, after the start function  , in the for cycle, i am triying to calculate increase/decrease ratio of bars. the bars from 1 to 48 . you will see red sections for calculations. result is always zero. why? i have tried
12