gangsta1
gangsta1
gangsta1
Added topic Trade Up With Trailing Gap
Hello, I want to trade up (add to position) with a trailing gap after a certain amount of pips but only ONE trade up order as the trade up distance is reached. E.g. place buy order - first order at +50 pips trade up trailing with trailing gap - new
gangsta1
Added topic Embedded TRUE/FALSE options - move on to next function?
Hello, I am in need of some help regarding an EA I have programmed that has indicators which can be set to true or false, currently I use an else statement to call another function that will run if the existing function is set to false. The problem
gangsta1
Registered at MQL5.community
gangsta1
Added topic I need help with my Bollinger Band EA please anyone?
Hi Guys, I have been working very very hard on this EA but it is missing some features that I would be willing to pay for someone to complete (hope I can say that around here?).. Anyways, the EA is attached and it is MY OWN CODE, again hope I am not
gangsta1
Added topic Is it possible to round up to the nearest 5 number?
I was wondering if it is possible to round up the stop loss or take profit to the nearest number that can be divided by 5
gangsta1
Added topic Set TP the same as the SL distance?
Hi, I am trying to make the distance of the take profit the same as the stop loss distance. The stop loss is based on an indicator and I need to get the distance of the open price and the indicator to duplicate this distance for the take profit? Can
gangsta1
Added topic Triangle formation EA/indicator
Hi Guys, I am trying to code an EA based on the triangle formation (breakout) but struggling to find an indicator to work with. Does anyone have one or know where I can get one? Cheers
gangsta1
Added topic Trying to add trailing stop & stop loss to EA, need help please...
Hi all, I am looking for someone to help me add a simple trailing stop and stop loss to this EA
gangsta1
Added topic How to use previous stop loss?
Hi All, I have been trying to get my EA to place an order with the same previous stop loss size (it is based on a candle low/high) for hours now with no luck. Basically, I would have to store and use the last stop loss value and call it for the order
gangsta1
Added topic Need help using % of equity rather than a % of free margin, code included..
I need to make this order function use a % of the AccountEquity rather than a % of the AccountFreeMargin. This code allows the risk to be adjusted depending on a win/loss, but calculates risk depending on free margin when I need it to calculate based
gangsta1
Added topic Need help counting consecutive profit orders and then resetting count after (x) amount of trades
I need help counting consecutive profit orders and then resetting count after (x) amount of trades.. So far I have: int ProfitHistoryOrdersCount() {      int PosCnt = 0 ;      int cnt = HistoryTotal();
gangsta1
Added topic more than 10 digits in extern int variable?
I can only set a maximum of 9 digits in the field for extern int from the EA properties ?? Anyways to increase this
gangsta1
Added topic 99% modelling quality but with a red bar
Hi, I followed the tutorial at: http://eareview.net/tick-data and can now get 99% modelling quality, but the bar is red meaning that only data from the timeframe I was running the EA was used. Is this a bad thing?! Does it mean the results are not
gangsta1
Added topic 99% Modelling Quality
I know this has been asked a million times but I cannot find a solution that works and actually does give 99% modelling quality. I have downloaded data from various sources and used the "period_converter" script to convert it to all
gangsta1
Added topic OrderSend() error - invalid price
My EA trades at a set time. For some reason if the minute is set to 0, the trade gives an "OrderSend() error - invalid price " error on Alpari UK. There is no number reference for the error such as 129. It trades fine on other brokers when
gangsta1
Added topic How to set: trailing stop to minimum, if trail
Title says it all. This is what I am using, but I seem to be running into issues with brokers who minimum trail is 0.00003 rather than 0.00030. if (TrailingStop < ( MarketInfo ( Symbol (),MODE_STOPLEVEL)/ broker_digits + MarketInfo ( Symbol ()
gangsta1
Added topic Alpari backtesting and GMT question
I have been backtesting my EA with a GMT shift of +2 as Alpari is currently GMT+2 In the winter they will change to GMT+1. Would I need to change the GMT shift to +1 then, or keep it as it is? I am confused as to if the results when backtesting
gangsta1
Added topic GMT offset problem, looking for some help..
My EA uses a GMT offset extern int. Oanda is 4 hours behind GMT. The GMT integer is therefore set to -4. However, this causes a problem as the EA recognises the hard coded time (2:00am) - GMT (-4) as (-2) so there is no trade. I need the EA to
gangsta1
Added topic Expire after first date used?
Does anybody know if it is possible to code an expiry date from the date the expert is first used rather than having a hard coded date
gangsta1
Added topic Code for risk per trade?
Hello, I have coded my first EA and I am looking for the code that will open lot sizes at a percentage of my account. Can anyone help please