brettles / Publications
Forum
Histogram bars not displaying in seperate window
Hi there, I want to create an indicator for sigma spikes as explained here: https://adamhgrimes.com/how-to-calculate-sigmaspikes/ To start, I'm just focusing on displaying the daily returns and haven't been able to do this as yet. I've tried reviewing the help files I find them very confusing. I'm
Strategy Tester shows message "failed sell stop... [Market closed].
Hi there, While trying to run a backtest that involves placing a pending sell order on the daily chart I get the strategy tester journal displays the message "failed sell stop.. [Market closed]" as below: The strategy tester settings are as below: The trade sessions times are below, but since the
How to import daily bars into MT5
Hi there, I've followed these instructions on importing data: https://www.backtestmarket.com/en/blog/post/how-to-load-data-in-mt5. The MT5 user guide also has instructions on importing data but both resources related to 1M bars. I'm interested in daily bars for coffee for 10 years which I can get
EA doesn't calculate lot size on AUS cfds like it does on US cfds, currencies and cryptos.
Hi there, Thanks for checking this out and offering your advice. My EA places orders according to levels I manually specify. I've only been using it on US share CFDs until yesterday when I used it on a AUS share CFD. It looks like the function that calculates lot size doesn't work on AUS orders as
Get trade volume given entry price and stoploss using CheckOpenLong
Hi there, Pretty standard question I'm sure but the answer seems to allude me. I'm trying to calculate trade volume as a percentage of account equity given a specified entry price and stoploss. #include<Trade\Trade.mqh> #include <Expert\Money\MoneyFixedRisk.mqh> CTrade trade; CMoneyFixedRisk
How to setup MT4 with large
Hi there, I've found that backtesting can require huge data sets and my C drive ran out of space. I bought an external hard drive thinking I could install MT4 on it, as well as download the data sets to it, and that this would be the best way to strategy test with Birt's Tick Data Suite. After