Codes

popup tip: any bar's local time for MetaTrader 4

popup tip: any bar's local time, with help of a verticle line

Forum

why these lines hide themselves?

Hi all, "Ichimoku" indicator has a band plus three lines. I'm trying to hide the three lines(No. 1,2,5) and add three MA lines. The following is the code, but why that band does not show up in the chart? Could anybody please help? #property indicator_chart_window #property indicator_buffers 7

MT4 bug report

HI, MT4 version is 4.0.0 B509. I've figured it out, this is a bug: if you move mouse and hover on a S/L line in chart, there should be a small popup showing "drag to modify... xxx $ loss....". But if there is any SEPARATE WINDOW indicator, this popup will never show up when mouse hovering there

mt4 android bug?

Hi all, My android mt4 version is 400.636 , but for a long time and several versions I've seen this: 1, it can not remember data --- every few minutes I turn screen back on to check forex (my wifi is alway ON), BEFORE mt4 can successfully connect to internet, it lacks lots of data (the latest 30

riskmoney of a position not having stoploss?

Hi all, I'm working on a code that calculates "total riskmoney" (if all StopLoss hit......) of the current chart. I found that with those orders/positions that I did not set stoploss, they're given a very large stoploss. My plan is to deal with them with a stoploss of any of my other

"Encountered an improper argument" when Metaeditor find & replace

Hi, Recently metaeditor doen't work well: when I find & replace in some codes, it pops up error: Encountered an improper argument. When I see this, sometimes it has finished replacing all keyword. But sometimes it could just replaced half of them

"while", what's wrong in my code?

Hi all, I'm working on this script: I manually draw a verticle line , then there'll be a Text showing the LOCAL time of that verticle line. I move the line, text will change. I'm using a technique of "tick simulation loop" found in this forum. But, after I move around the verticle line, I found "t"

at WEEKEND draw a variable Text object?

Hi all, I'm thinking about drawing a Text object , telling the time of a verticle line, this verticle line I'll move around MANUALLY, so the Text content would change. The problem is: I want it work at weekend, no tick coming in. Any idea? Afrikaans Albanian Arabic Armenian Azerbaijani Basque

need indicator showing local hour

Hi, In order to see a history bar's local time, I need an indicator line that shows the local hour --- day or minute is just the same between server time and local time. It will be perfect if it's Arabic numerals, instead of a line, that shows in the seperate window. Thanks

real account order arrow disappears

Hi, In my real account , there used to be arrows on chart: 1, if I have an order and a stoploss for that order, there will be a loss value in $USD if mouse hovering on the stoploss line on chart; 2, if I've closed some orders, there will be arrows and linking lines for/between open position and

why indicator line empty value ?

Hi, I'm trying to write this indicator with 2 colors: up red, down white. But why the result is total empty? //+------------------------------------------------------------------+ //| macdup.mq4 | //| Copyright 2013