- Search Metals Mine
-
RedLineFred replied Apr 4, 2021Each pair has its own Specification - right click on the Market Watch window and select it there. What you'll find is the following: image this is the Specification for EURUSD on my broker and it shows the Swap Long as -4.06, and Swap Short at ...
Swap costs on hedge trades
-
RedLineFred replied Apr 2, 2021we scale our stops and targets based on ATR, or multiples of ATR. in this way your EAs dynamically adjust to the market but also normalises across different pairs as an example, rather than have a 20 pip stop, use a 1x ATR stop
How does the ATR help?
-
RedLineFred replied Mar 30, 2021try this include file and add this to your EA readFileIntoArray( readFileName ) where the format required for readFileName is DirectoryName+ " \\ "+FileName+".csv" it will create an Array called readArray of any size file up to 100000 lines and 1000 ...
Efficiently reading a csv file?
-
RedLineFred replied Mar 20, 2021Set it up as you like it and then save it as a template called “default” then any new chart opened will use this template.
Chart Shift Issue
-
RedLineFred replied Jan 27, 2021it is possible to have a multi line comment, just add this to your comment line +"\n"+ eg Comment("The current time is " + "\n" + TimeCurrent()); Your problem is that you are trying to display information from two different indicators. One solution ...
Questions I need answers to ...
-
RedLineFred replied Jan 13, 2021You need to find yourself a trade manager EA which allows you to add Comments and Magic Numbers Search for "Trade Manager" and you will find many options. Once a trade is placed you cannot then alter the comments/magic. One thing you should also be ...
how to add comments on MT4 Terminal
-
RedLineFred replied Jan 13, 2021the general approach is to work out what you are prepared to risk ( say $R ) then see where the SL is in relation to the entry price work out how many pips between entry and SL ( say x pips ) work out the cost per pip for a single lot (depends on ...
Lot Size Calculator
-
RedLineFred replied Jan 6, 2021load the volume indicator onto your chart next open the Navigator and find the Moving Average Indicator (could be in your Trend folder) drag the MA Indi onto the Volume Indi in the sub window and set the "Apply to:" drop down to [Previous ...
I can't add MA on sub-indicator window
-
RedLineFred replied Nov 25, 2020image Short swap is shown in the spec as 8.077 so at a lot size of 0.79 this would equate to a cost per day of USD6.38083 Entry Price - Exit Price = 0.069 Loss = (0.069*1000) * 0.79 = USD54.51 6.38083*17+54.51 = 162.98 Still as you say something ...
Loss calculation does not match loss in backtesting MT4 - why?
-
RedLineFred replied Nov 24, 2020my comment was only to highlight that swap costs vary over time. why your loss expected doesn't match that shown on MT4 could be due to a few reasons. you show the specification which has a short swap cost of 8.077 so at a lot size of 0.79 this ...
Loss calculation does not match loss in backtesting MT4 - why?
-
RedLineFred replied Nov 22, 2020Swap does vary with price. 6.15 may be today's value but you dont know what it was on Jan 22
Loss calculation does not match loss in backtesting MT4 - why?
-
RedLineFred replied Nov 12, 2020You already know that you are prepare to risk = 0.3 * ATR Now work out how many ticks this equates to, in your example of 30 pips = 300 ticks for EURUSD now grab the tick value for EURUSD dollar risk per one lot = tickvalue * ticks work out what ...
Help with MM calculation please
-
RedLineFred replied Oct 28, 2020name your lines differently for each trade and then when you loop through your code link the lines with the trades in question
when in for-loop of objects, what if new object created?
-
RedLineFred replied Oct 19, 2020MT4 has this function built in just hold down the [Alt] key and click [3] this produces the line graph of the bar close prices
Indicator to show closes of candles
-
RedLineFred replied Aug 19, 2020when you drag the MA onto the sub window, check out your selection in the "apply to" drop down - it needs to be "First Indicator's Data"
Problem getting moving average of ATR
-
RedLineFred replied Aug 11, 2020you might need to clarify what it is you are trying to save. if you are looking to save the data in the report tab, have you tried to right click and "Save as Report"?
Saving Backtest from MT4
-
RedLineFred replied Jul 15, 2020for a simple application such as yours, you could try sending your angle to a global variable (GlobalVariableSet) and then reading this variable using GlobalVariableGet
need to help using iCustom
-
RedLineFred replied Jul 7, 2020have you looked behind the indi to see what its doing? url provide a good description, and their conclusion is enlightening: Conclusion The Directional Movement System indicator calculations are complex, interpretation is straightforward, and ...
Can the ADX be effective on the M30 timeframe?
-
RedLineFred replied Jul 1, 2020It sounds like you haven't used the MT4 optimiser to its full extent. Don't get me wrong, I'm not a fan either, but it will do what you want in terms of trying different input parameter settings. The only thing it cant do is change the time frame or ...
Advanced EA optimizers software MT4