- Search Forex Factory
- 218 Results (1 Thread , 217 Replies )
- One day! replied Nov 21, 2019
Why would you call OnTick(); from within OnTimer()?.. OnTick is called by the NewTick event, which is dealt with by the terminal. So every time a tick is received by the terminal, OnTick() will be called and all code within it processed. You can ...
Need Help with Simple Coding
- One day! replied Sep 6, 2019
Hi JR97. Personally I didn't use VBA, just the data importer built into Excel. I had an EA writing a .txt file, then linked that to Excel and set it to refresh every minute. Nice and simple...as long as you can write the EA ;-)
Metatrader to Excel and back
- One day! replied Aug 16, 2018
Thanks FerruFx and rockit for that discussion. I was struggling with the logic, until I came across precedence rules. It all makes sense now. A couple of links for anyone like me: url & url
Need help on this indicator
- One day! replied Jul 6, 2018
Yes it is. The third point simply defines the level to project from. Normally, people would link that third point to a retracement, from which the levels would be projected. All Nut is doing, is moving the third point level with the second point. ...
A little bit of give back
- One day! replied Jan 22, 2017
Long time since I last looked at this! When you first load the indicator, the vertical line will be drawn 5 bars back by default, on the time frame that you load it to. The indicator then checks a defined number of bars preceding it, and those ...
Coding request: close fractal swing indicator
- One day! replied Aug 29, 2015
Personally, I would format the code as below as it avoids repetition and helps me to follow the logic flow: bool DT1B = false; bool DT2B = false; bool DT3B = false; bool DT1S = false; bool DT2S = false; bool DT3S = false; ...
Flow of Boolean Logic (for MT4)
- One day! replied Aug 29, 2015
Update: Glad to say that the service desk has got me up and running again. I now have build: 858 running and it seems to be stable. Hasn't crashed yet! I am still experiencing issues with the Metaeditor at the moment - it crashes when I try to ...
MT4 platform won't load
- One day! replied Aug 24, 2015
I have the same issue with build 840. I have tried uninstalling, reinstalling, downloading from different brokers, Metaquotes itself, all to no avail. The terminal crashes every time! Fortunately I am only using a demo account! For the time being I ...
MT4 platform won't load
- One day! replied Jun 22, 2015
I wrote this a while back now, but it still runs fine on my Metatrader. url It is plotted using pips per bar, so the lines will not drift around, unlike the standard version. Hope you find it useful... OD
looking for good Gann fan indi to use w/mt4 600+
- One day! replied Jun 16, 2015
I would write it like below, if it were me: OpenTradeSignalA = TRUE; //--assign true or false value to your variable //--then use if expressions if(OpenTradeSignalA){ //--variable is either true or false //--three possible choices: greater, less or ...
Sending algorithmic string to buy signal in mt4
- One day! replied May 12, 2015
If you are only interested in a few pairs, you could just copy and past the data that you need from the data window in your MT4 terminal.... Which when pasted into Excel, looks like this.... No coding, but for a few pairs it might do the job.... ...
Excel and VBA analysis
- One day! replied Mar 2, 2015
I agree with you on that point JR'. I have had too many issues with DDE to bother with it any more. I find it more efficient and reliable to do what I need in MT4, write it to file and load that into Excel as external text data.
Excel and VBA analysis
- One day! replied Jan 8, 2015
Hi Charvo, I don't have access to my terminal for now, but in simplistic terms, I would approach it as follows: Loop through orders and check if there is a line object prefixed with the corresponding order number; If not, then create one and assign ...
How To Capture Mouse Dragging of a Line
- One day! replied Jan 7, 2015
This is my understanding: User sets AlertLvl4Long; The above is assigned to LongApl at Init(); Start() calls Count_Pos_lots(), which: deletes the line if it exists, then; creates the line using LongApl value; Start() calls UpdateDragAlert() to get ...
How To Capture Mouse Dragging of a Line
- One day! replied Dec 30, 2014
I think you need to check your use of braces...
Please help find bug in my code!
- One day! replied Dec 3, 2014
I copied your original code and had similar results, so I changed it to the code below: //+------------------------------------------------------------------+ //| testread.mq4 | //| Copyright
This code is making me crazy2010, Oneday | ...
- One day! replied Sep 21, 2014
This is how I do it.... Variables for this hypothetical example: Account balance: £50,000.00 Risk per trade: 1% Trade pair: EURUSD Conversion pair: GBPUSD Step 1 When the trade is settled, the profit or loss will be in USD, so you will then have to ...
Pip value for non USD accounts: are 3 currencies in play?
- One day! replied Sep 19, 2014
You are describing a cross rate calculation here, which requires two currency pairs to calculate your risk in GBP. The first pair is the trade pair, and the second pair is your conversion pair. With your EUR/USD example, you know that when the trade ...
Pip value for non USD accounts: are 3 currencies in play?
- One day! replied Jul 8, 2014
If you can upload an image, or describe exactly what you want to display, I'll adapt the indi' that I have and upload it for you and anyone else to use.
ReadtheMarket - Supply and Demand with Price Action