Joshua McGowan
Joshua McGowan
Joshua McGowan
Added topic Receiving different backtesting results from two different machines. Same codebase and backtesting settings.
Was trying to find out more information on backtesting approaches and some additional information on how to handle a condition where the same code is getting different backtesting results on two different machines. We've checked the backtesting
Joshua McGowan
Added topic Opening 2 different orders with different take profit levels, once filled the position appears to be combined.
History Tab of Strategy Tester Shown Below.   Placing buy stop limit orders with different take profit levels as shown below. Showing individual orders 14 and 15 getting filled.  Trade Tab of Strategy Tester Shown Below. After the fill
Joshua McGowan
Added topic Issue getting ticket order numbers from array/class - Missing the last ticket entry
Hello there. We're running into an issue trying to print out our list of pending tickets and attached the simple code base as well as a few screen shots of what we're seeing in testing. Issue is the last pending order never gets printed and even if
Joshua McGowan
Added topic Using trade.BuyStop and unexpected Invalid Price errors inconsistently
Hey there. Getting working orders sent thru but on occasion invalid price is showing up, it appears to retry and then will go thru. Ive seen the posts about ask/bid and assuming this is something simple that isnt registering for me mentally. That
Joshua McGowan
Added topic Unexpected indexing when using iBarShift() in sample print statements.
Somehow when printing out iBarShift() it appears to be going in reverse order from high to low while our time is being printed from past to present. We are sending in the most recent time and getting back the lowest index in our indicator buffer
Joshua McGowan
Added topic Lines not being drawn on new potential divergences. All historical drawings are good just once on chart if a new one appears lines not shown/drawn
This looks for potential price and indicator divergences and draws lines to show us where its looking at. When the indicator is loaded on the chart all the historical info gets drawn as expected but if left on the chart and a new one shows up no
Joshua McGowan
Added topic ExtUpperBuffer being set to 0.0 on new bar. In the If Else it is hard coded for troubleshooting purposes
 Im trying to identify fractals on an indicator such as OBV. In this example for troubleshooting ive hard coded the value in the OnCalc for this buffer to either be 420000 or 220000 just to simplify the troubleshooting and visibility, and in
Joshua McGowan
Added topic Buffer values on new bar get set to 0.00
For a learning project I took a default indicator such as OBV and wanted to start the process of finding divergences so using the inbuilt Fractals code as a start to find pivots. In this code I have an EMA on the OBV which can be ignored as the same
Joshua McGowan
Added topic Question on how inbuilt Williams Fractal Indicator updates drawings on realtime bars.
In the Fractals.mq5 file there is no chart redraw or any function I was expecting in the onCalc and was wondering how MQL5 is drawing new fractal arrows? I understand how in the OnCalc new upper/lower fractals and those prices are being found
Joshua McGowan
Added topic Moving Pine Script Algo over to Metatrader. MQL5 is latest but seems MQL4 is the preferred/recommended path for automation?
Is there any reason not to dive into MT5 vs MT4? Keep hearing people working with MQL4 language for automated trading but version 5 appears latest and greatest? Any insights is appreciated. Im in the USA and my broker is Alpaca if that matters or
Joshua McGowan
Registered at MQL5.community