brettosm8
brettosm8
Friends

Add friends via their profile or user search and you will be able to see if they are online

brettosm8
Added topic New order doesn't open after current order closes with loss.
Hi there, Quick question. I want to open an order based on the previous order that hit it's stoplosss. To access the order that has just hit stoploss, such as it's OrderType(), OrderProfit(), OrderMagicNumber() etc, do I need to select it from
brettosm8
Added topic Modified martingale system eperimentation
Hi there, I'm trying to test modifications to the martingale system.  So far I've coded enough to play around with some parameters like how much to multiply volume on losing trades.  I tried to run this in Strategy Tester which only shows 2
brettosm8
Added topic Create HLines every set amount
Hi there, I'm trying to create HLines for every specified amount, for example every .0025 pips there should be another HLine. I've tried to do this on EURUSD with a script on and a custom indicator but no luck. This is the script version string
brettosm8
Added topic Cancel open orders when price invalidates trade.
Thanks for your assistance. I placed orders to open short on the NZDUSD daily TF. The entry was just below the bar low and I wanted my code to close the orders if price invalidated the trade by moving above the bar high. It appeared that my code
brettosm8
Added topic How to find number of days since VLINE.
Hi there, I put a VLINE and 2 HLINEs on a chart. The VLINE is the day a signal occurs that I want to trade. The HLINE's are profit targets. I want to calcuate the high or low of the bar I dop the VLINE on because that will be the signal invalidation
brettosm8
Added topic How does TICKVALUE work?
Hi there, There is this code from http://www.earnforex.com/position-size-calculator. Is the function that calculate risk and position size from their indicator. void CalculateRiskAndPositionSize() {    if (!UseMoneyInsteadOfPercentage)
brettosm8
Added topic script doesnt run
hi there, thanks for your assistance. I'm trying to write some code that will print out my horizontal lines but the script is loaded and then removed. Does the mrket have to be open to run or why doent it work? anks, brad. int TotalHLines= 0 ; void
brettosm8
Added topic My EA doesn't ajust the SL level.
Hi there. Thanking you for assistance. I'm trying to create an EA that works as follows. After I open a trade with 3 positions all with a common SL and entry price, with a TP1, TP2 and without a TP for the 3rd position, I want my EA to move to BE
brettosm8
Added topic Lines on chart appear on chart of other currency pair
When I go through a list of currency pairs in MT4 (broker FXDD) inserting S/R lines, the lines appear on some of the other pairs. For example, when I inserted the lines as shown below on the NZDUSD chart: They also appear in the USDCHF chart as
brettosm8
Added topic Strategy Tester only simulates short trades with additional piece of code.
Hi there, Thanks in advance. I have this working code that in Strategy Tester detects a MACD crossover and places a trade in the relevant direction: #property copyright "Brett" #property link       "NA" bool
brettosm8
Added topic MACD and Signal values differ to those shown in indicator
Hi there, This is actually a sub question related to  https://www.mql5.com/en/forum/144912 . Anyway, the big picture is that I'm trying to check if the previous macd < previous signal and if current macd > current signal.  To do that
brettosm8
Registered at MQL5.community
brettosm8
Added topic My EA doesn't open/close any trades in Strategy Tester
Hi there, This is my first post to this forum. I created an EA based on the following system  http://forums.babypips.com/free-forex-trading-systems/507-45-pips-per-day-system-eur-usd.html . Entry is crossover of macd over signal followed by SAR
12