Codes

JJN-Scalper for MetaTrader 4

Scalper system. It shows the entry, takeprofit and stoploss levels

JJN-Bee for MetaTrader 4

Scalper system. It shows the entry, takeprofit and stoploss levels

JJN-Nugget for MetaTrader 4

This indicator gives BUY and SELL signals and entry level

JJN-BigTrend for MetaTrader 4

Simple multicurrency trend indicator. You can modify it according to your taste

JJN-TradeInfo for MetaTrader 4

Indicator that shows profits and losses (in pips and money)

JJN-Promise for MetaTrader 4

Indicator that shows trend and divergencies

JJN-Fibo for MetaTrader 4

Intra-[Month,Week,Day,H4,H1 ...] Fibonacci. (Maybe) the most useful Fibonacci tool

JJN-Autopitchforx for MetaTrader 4

Automatic Andrews, Schiff or modified Schiff pitchforks

JJN-ActiveHours for MetaTrader 4

Simply displays active hours (definied by the user)

JJN-InfoBar for MetaTrader 4

Indicator of some basic information

Forum

Live/demo confusion

Hi gurus, Recently I often find that many demo accounts can be identified as a live account (IsDemo() gives false on demo accounts). Can you tell me something about this? Why is it, and is it possible to avoid it? Thanks

Something really weird 2

Hi gurus, I have an indicator that uses Symbol() for determining the instrument (there isn't hard coded instrument, just Symbol()). I load the indicator say on EURUSD chart and save it as a template. After I load this template say on USDCHF chart. And here is the surprise: the indicator works based

Something really weird

Hi guys, here is my indicator: #property strict #property indicator_chart_window //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int

Initialization problem

Hi guys, I found an issue: There is a MarketInfo(Symbol(),MODE_TICKVALUE) query in my indicator's OnInit() part. It works good, except one: if the indicator is already on the chart when I start the MT4, the tickvalue gives 0. So, I think there is something wrong with MarketInfo in OnInit(), when you

ArrayCopy question

Hi gurus, Is it possible to copy a part of a 2D array into a 1D array? So, there are: double 1DArray[100]; double 2DArray[10][100]; I want to copy 2DArray[5][all of the 100 elements] into 1DArray. Is it possible and how? Thanks

ArrayFill question

Hi guys, This code #define N_ARRAY 5 int myArray[]; ArrayResize (myArray,N_ARRAY); Print ( "Before: " ,myArray[ 0 ], "/" ,myArray[N_ARRAY- 1 ]); ArrayFill (myArray, 0 , WHOLE_ARRAY , 7 ); Print ( "After: " ,myArray[ 0 ], "/" ,myArray[N_ARRAY- 1 ]); gives 0/0 in "After" line. But this code

Install problem

Guys, I'm extremely nervous, please help me. I use Linux. Earlier was able to install MT4 via Wine without any problem. Since the latest some builds of MT4 it is impossible to install the MT4. I get this: It requires I do enter proxy settings. As far as I know, I don't use any proxy. How this issue

Date error in MT4?

Hi, I run this code: Print ( "Year: " ,Year()); and got 1900 instead of 2016. ??? What did I wrong

Decrypt

Hi Gurus! Here is the mql example of using of CryptEncode/CryptDecode. Based on that example, let's say: string my_string=ArrayToHex(dst); I'd like to get the original text string ("The quick brown ... ") from my_string . How can I get it? Thank you

Chart event when mouse button is pressed

Hi Gurus, Can I get a chart event, when I click on mouse button (BEFORE I release the button)? As I experienced, the event occurs when I release the button. Thanks