Codes

BPA - D1 London Session for MetaTrader 4

Ricx - 1st indicator submit This indicator will plot EURUSD D1 candlestick chart on white or other bright background

Forum

How to code : Expert Set / How to open write modify : *.set file located on expert\presets\*.set

I hope someone could help me, i'm stuck. currently i learning to write EA. 2 problems: i try to save extern inputs into a file , i notice we can save extern inputs into "*.set" file located at ...\experts\presets\*.set (so how to do this?) how to load extern inputs from previous saved setting when

using SendFTP() How to copy to clipboard?

Guys i need help with coding... The goal is to... "take screen shot" (done) and "send it to ftp server" (done) then " copy file link to windows clipboard" (problem) This is the code i use, for the script: //create a filename based on "year-month-day_hour minute symbol" string filename = TimeYear(

[BUG?] .mql4 missing after compile in win 7

windows 7 professional 32 bit 1. open an existing somescriptname.mql4 (double click on the file not from metalang) with metalang editor 2. then modify something 3. compile it 4. the original somescriptname.mql4 will be gone. and there is only somescriptname.ex4 problem will not occur if open

:( crashed, help me with windowhandle()

void init() { while ( WindowHandle ( Symbol (), 0)== 0 ) Print ( "wait until chart is fully loaded" ); if ( WindowHandle ( Symbol (), 0)!= 0 ) Print ( "chart is now fully loaded now indicator can start counting" ); return ( 0 ); } i try do that and my mt4 crashed, any one could help what i did wrong

Library vs Individual Scripts

Dear All, especially for experienced programer & metaquotes software writers... if there is one really complex function to be calculated before send an order, Please tell me which one is faster (to compute a complex function) 1. Use Library for process a complex function? 2. Use Individual script

[Help] Object Follow exact Bid Price

Hi i try to make an object (using text/ obj_text ) to follow (point at exact with bid) bid price so if bid move up it move up if bid move down it move down... but the problem is this "Wingdings 3" font i use isn't plot at the exact bid so i try to manipulate the bid price to make it visually

New 388 have Script Icon, how do i make my own script to show different icon like that?

Hey guys, i noticed in new update 388, mt4 has nice globe icon in script. Question is how to make my own script have custom icon like that

a question about Ordermodify() lotsize?

dude, currently i do some experiment on positions sizing on buy/sell limit/stop orders i had a little trouble when it comes to modify lot size of an order(s) what i did was delete previous order then send new order this is what i did: if stop loss modified it will recalculate lot size of a trade

How to hide bars of certain period of time?

My mt4 is using Eastern standard time so london opens at 4pm and close at 11.30pm what i want to do is to hide 11.31pm to 3.59pm bars how to do that

[Help - Indicator] why it didn't plot high low like the way i wanted?

I try to make for my self a chart of daily eurusd (EURUSD D1) in London Session Only , at first the candle body was plot wrong however i haven't change the code yet but then it plot nicely the way i want, so i continue write candle shadows High and Low for london session only... then it happen