- Search Crypto Craft
- lukeb replied Jan 2, 2016
Well, Clarck, Without the indicator, not much debugging possible. I added some statements to display what indicator values the EA gets.
I will code your EAs and Indicators for no charge
- lukeb replied Jan 2, 2016
Redfan, Here is your EA with code that can be compiled - I did not add anything with the indicator, you would have to explain a little more, and provide the indicator you want to use. I added some debug capabilities, and on-chart buttons to buy and ...
I will code your EAs and Indicators for no charge
- lukeb replied Jan 2, 2016
Attached is the file with modifications to make it compile without errors or warnings. I've ran it on Oanda, tester (markets not open) and it does open Buy's. You'll find some debug statements in it, maybe they will help you.
I will code your EAs and Indicators for no charge
- lukeb replied Dec 30, 2015
Improved code - but not exactly what PatienceFx wanted - it adds SL and TP with every button press.
please check my code for errors
- lukeb replied Nov 30, 2015
"You can open sub-accounts with most brokers" You just made my point - I cannot use the two strategies without special consideration to 'get around' the restriction.
Hedging is it really useful?
- lukeb replied Nov 30, 2015
Here's where the hedging rule frosts my mug. Open a long position entered using the daily chart, I expect to be in the trade for 4 or 5 day. I notice on my 15 minute chart that there is a retrace starting, I want to trade that retrace. I click ...
Hedging is it really useful?
- lukeb replied Nov 30, 2015
PatienceFX, "it keeps adding the counter with every tick" Up in the global area, you define the count integer: int cnt = 0; Every time there is a tick, the code starts executing with entry into OnTick (or OnTimer if you changed it), where the ...
please check my code for errors
- lukeb replied Nov 29, 2015
There are many center of gravity entries over on mql4.com. I didn't find any with as many lines as the picture above - they look like standard deviation or Fibonacci lines. This looks like a nice one, but would take some work to make into a mlq4 ...
Profitable trading system (Need EA to be written)
- lukeb replied Nov 29, 2015
file Put this statement in OnInit() EventSetTimer(60); Put this statement in OnDeinit(const int reason) EventKillTimer(); Change OnTick() to OnTimer() Here's code that may be interesting to you.
please check my code for errors
- lukeb replied Nov 28, 2015
Kenji Your image looks just like mine did when I was getting the divide by zero error - for me, it was due to 3 pairs of the (28?) producing a zero value with Oanda (USDCAD, NZDJPY, GBPJPY). Check your "Experts" tab, and see if a divide by zero ...
MT4 Trading the GAP With Excel
- lukeb replied Nov 27, 2015
Just started lurking here - looks very interesting. Downloaded Dashboard - Power MeterV5n.ex4 , pg 33 and got: zero divide in 'Dashboard - Power Meter V5p.mq4'(2554,108). Found what I think is the latest on pg 22, Dashboard - Power ...
MT4 Trading the GAP With Excel
- lukeb commented Dec 29, 2014
Wow, an amazing article. Here are a couple other references where there are similar themes: EROI on Wikipedia: References to close relationship between energy return on investment and fall of previous civilization is mentioned, including the Roman ...
How Increased Inefficiency Explains Falling Oil Prices
- lukeb replied Jan 24, 2013
Well, sorry to see nothing on this thread - no comments showing success or failure. I thought it should have an indicator - so here is one. It just draws a line where you should be looking for the the price action to intersect and an order be ...
15-min 60 WMA
- lukeb replied Jan 18, 2013
I had some questions about what IndicatorCounted() was doing and wrote an indicator that has the sole purpose of showing what IndicatorCounted() returns. It is here: url . I'm thinking of changing from using IndicatorCounted() to using the Time[] ...
Help me to understand the code please!
- lukeb replied Oct 11, 2011
Consider both Pip Risk and Margin Usage — Erebus, the url is a good and well accepted calculator, and I think it does exactly what the pip risk calculation part of the RiskLotIndicator does if you put in a value for FixedPipsForRisk and set ...
looking for lot size calculator
- lukeb replied Sep 29, 2011
Turn RiskLotCalculator into an indicator — Pretty easy to turn the expert into an indicator, here it is, and a typo fixed in the expert.
looking for lot size calculator
- lukeb replied Sep 25, 2011
RiskLotCalculator code update — Updated the RiskLotCalculator as not all brokers had needed values returned in MarketInfo(). Couldn't resist cleaning it up some as well. Debug level is set at 1, valid values are 0, 1 and greater than 1. If you ...
looking for lot size calculator
- lukeb replied Mar 18, 2010
vx13 - Money Management — There are three things to consider: 1) How much money you are willing to loose (risk) - 2% or $100 in your example. 2) How far you want the market to move before you loose that much - Your Stop Loss. You indicate you ...
I code your Expert Advisors / Indicators
- lukeb replied Mar 14, 2010
FXExpert: Simple but effective EA — I posted an EA containing the code to do what you indicate, "Bet on the Direction", here: url , that I called fxRoulette. Differences as the code is set up: It uses Average True Range to set the buy and ...
Simple but effective EA
- lukeb replied Mar 11, 2010
angelfx922 - Need more info to write code — This is an easy set of tests to plug into an EA - but the details will make the EA do what you expect versus something else. Can you clarify- Info for placing an order: You specify that an order will ...
I code your Expert Advisors / Indicators