Lode Loyens / Profile
Lode Loyens
Added topic financing fee
Hi Does anyone know how to calculate in EA the financing fees charged by the broker? I wrote this code to calculate daily profit (see below). It works fine. Except it does not include the broker's daily financing fee.
Lode Loyens
Added topic Displaying percentage
Hi; I am using this formula to calculate percentage: Profits= NormalizeDouble ((OrderProfit()/orderProf)* 100 , 2 ); (orderProf is preset to $200). It works fine, except it doesn't display properly: Any suggestions? Thanks a bunch
Lode Loyens
Added topic Button aesthetics
Hi; Wrote this code to display two buttons that represent an OFF/ON switch. They work as intended. With both buttons set to OFF mode they are the same exact size. However when I press one of the buttons to change its mode, the button
Lode Loyens
Added topic Stop constant alert to my phone
Hello; I wrote a routine that will activate a trailing stoploss. It works as it should. I have the MT4 platform forward activities to my phone under notifications (Tools -> Options -> Notifications) Problem I am having is that every
Lode Loyens
Added topic Hide Object Label
Hi I created a trading stats window. When I hover the mouse pointer over a description it will popup a tiny window (almost like a button) that shows the name I gave to the object. ObjectCreate ( "Title" , OBJ_LABEL , 0 , 0 , 0 ); In my
Lode Loyens
Added topic meaning of symbol in code line numbers
Hi; I get 0 errors, 0 warnings after compiling my EA. Yet in the coding line numbers it shows this symbol The code to the right of this symbol is: // set variables needed to calculate lotsize double MaxRisk2 = MaxRisk, LotSize2 = 0 , newBalance =
Lode Loyens
Added topic From doubles to integers
Hi; I want to perform a number of calculations that use double variables (Open[], Close[], Ma Value, iHighest, iLowest, etc.) My problem is that no matter which conversion function I use (NormalizeDouble, MathAbs, MathRound, (int), etc.) I can not
Lode Loyens
Added topic Determine Candle Close
Hello; Is there a way I can determine an actual candle close as it happens? Both iClose [] and Close[] don't do that. Any suggestions are welcome. Thank you
Lode Loyens
Added topic How to display text in front of the chart?
Hi I wish to display certain chart stats on my chart. In general chart properties I have "chart in foreground" unchecked. I use the following code to display the stats but the chart (bars) still move over the text, instead of behind it
Lode Loyens
Added topic Coloring a portion of a candle
Hi Can anyone tell me how I can color (or highlight) a portion of the current candle on a chart? I have code I wrote that checks for a possible run-away candle that is based on a certain number of pips The code works except I don't know how to
Lode Loyens
Added topic Closing all open orders at Friday noon time.
Hi; I have conundrum: I travel a lot and am constantly in different time zones : US, Australia, Europe, Africa, etc. How can I get my EA to auto close all open orders at Friday noon (12pm) regardless of where I am in the world? Do I need to
Lode Loyens
Added topic Show Open Order on active chart only
Hello; Got a conundrum: how can I show open order in MT4 on the active chart only and not on all charts? I use 15M chart for my actual trading. I also have a 1H & 4H chart open to confirm overall market direction as well as most
Lode Loyens
Added topic Multiple Market Watch windows in MT4
I have several watch lists I created in MT4 using the SET option. I wish to display these watch lists all at the same time. How can I do that? I tried opening more Market Watch windows and add a watchlist to each window but that doesn't
Lode Loyens
Added topic Automated execution
Hello; I understand that MT4 platform allows for automatic execution of a script at startup using the command "start terminal.exe <script subdirectory\script name>" (without the double quotes. In my case the actual command is: start
Lode Loyens
Added topic Different Orders on Different Charts
Hello; I am curious to know if either MT4 or MT5 allows me to display an open position per time chart for the same currency as opposed to how it is now: showing all open positions on all time charts. Example: I open a loonie position in a one hour
Lode Loyens
Added topic on chart location auto adjustment
Hello everyone; I have an EA that shows various information about my trading account. I can move that information anywhere I want on the chart by means of the setup built into the EA. However, when I move the chart from one monitor to another
Lode Loyens
Left feedback to developer for job Modify open order specifications
As always very pleased with the work Fedor provides. Couldn't ask for better.
Lode Loyens
Left feedback to developer for job Partial profit option
My 2nd time working with Fedor and I am very pleased. He is very capable and very willing to please. I recommend him highly.
Lode Loyens
Left feedback to developer for job Trading Robot based on MA settings
My 1st time ordering a custom programming job. Fedor did an amazing job. Very professional, timely, efficient, and above all the final product works very well. Well done!
Lode Loyens
Added topic Transparent candlesticks
Hi; is it possible in MT4 to make candlesticks transparent (see through) so that I can see the indicator actually moving through the candlestick? Right now the candlesticks appear on top of the indicator, as if the indicator is in the background and
: