- Search Crypto Craft
-
Beerrun replied Jun 18, 2019Yes but the trailing stop setting must be 0 or less. This input does not work?
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 17, 2019This code is part of a straddle ea and its written to open 2 stop orders on every tick; there's nothing about buttons. Are you sure this is the file you intended to upload?
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 17, 2019First line in the loop header is for initialization of the loop and is only executed once before the first iteration; writing it the proposed way adds an extra unnecessary variable.
Want code reviewed and point out my mistakes
-
Beerrun replied Jun 17, 2019Here try this, haven't tested it though
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 17, 2019Here is a more improved version with more options, smoother running, and no errors
Power candle indicator
-
Beerrun replied Jun 17, 2019Yes its not very different but would take a bit of work; if I find time I will see what I can do.
Power candle indicator
-
Beerrun replied Jun 11, 2019Try this out, added my GPS function, load it as many times as you want
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 8, 2019OrderOpenPrice() does not work like that, you must OrderSelect first. if(condition){ int ticket=OrderSend(Symbol,OP_BUY,Lots,Ask,3,0,0,NULL,0); if(ticket>0)if(OrderSelect(ticket,SELECT_BY_TICKET)){ double checkb=OrderOpenPrice(); double ...
I will give you Expert Advisors for your broker for free
-
Beerrun replied Jun 7, 2019You have to select the order first with OrderSelect() before OrderOpenPrice() will work. url In addition you have to normalize your pip/point amounts. Suppose check=1.1200, if you subtract 200 from that you have -198.88. So just (200*_Point).
I will give you Expert Advisors for your broker for free
-
Beerrun replied Jun 5, 2019Not quite; whether OrderClose actually succeeded or failed is what is returned true or false. The OrderClose is executed inside of the if statement. So if(!OrderClose(ticket,lots,price,slippage,colour)) will attempt to close the order, if it fails ...
Newbie needs help with a logic idea
-
Beerrun replied Jun 5, 2019Its not a stupid question buddy. The "!" means if the expression is not true. OrderClose and OrderDelete are bool type functions, they return either true or false. When written like this the OrderClose function is still called, but if it returns ...
Newbie needs help with a logic idea
-
Beerrun replied Jun 5, 2019Always count down your orders, otherwise you run the risk of skipping orders. There is a good explanation of it here url . And when counting down, don't forget to convert the order count to order positions by adding "-1" to OrdersTotal(). You need ...
Newbie needs help with a logic idea
-
Beerrun replied Jun 5, 2019I believe there already is a quite popular EA for that strategy, called Blessing. I think it’s on it’s 3rd version now or something
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 4, 2019Here you go: colour changing main line, arrows and various alert types all added. Arrows are placed using 75% ATR. Alerts will not send until a signal is confirmed by passing the cycle range. Also added colour changing standard deviations (set to 0 ...
I will code your EAs and Indicators for no charge
-
Beerrun replied Jun 1, 2019Without seeing your code I cannot say exactly why, but it is not in the code I gave you; it is related to your OrderDelete() function. Adding in Sleep() is not fixing the problem; there is some logic in your code that is allowing it to delete the ...
Newbie needs help with a logic idea
-
Beerrun replied May 31, 2019Added #property strict, removed errors and warnings, and fixed the timeframe change issue. The issue was the counted bars not being updated quickly enough when timeframe changed, IndicatorCounted()=0 even after a first pass of the main loop. Also it ...
I will code your EAs and Indicators for no charge
-
Beerrun replied May 31, 2019What I posted is a simple perceptron, for anyone to use the code when creating their own NN or just use as is.
I will code your EAs and Indicators for no charge
-
Beerrun replied May 31, 2019Yes but it takes some work to create a new one. You can experiment with this if you'd like; just something to play with. It is a simple perceptron that uses PReLu activation, displayed like a moving average, on non-JPY pairs. There might be full ...
I will code your EAs and Indicators for no charge
-
Beerrun replied May 30, 2019This might be helpful url .Error 130 means you are trying to place a stop that is an invalid price and that error is not applicable to OrderClose(). The best way to error check that is place a Print() statement right before your OrderSend() or ...
Newbie needs help with a logic idea
-
Beerrun replied May 30, 2019I didn't realize it was you when I responded lol Try this, added to the function from the other thread. For market orders only. void LotSizes(){ double biggest=0,second=0,sumB=0,sumS=0; int tktB=0,tktS=0,slip=1; for(int ...
Newbie needs help with a logic idea