Forum

Kelly Lot Help Please

I have been looking and learning and have found a way to start developing this mm system, granted I am not a coder by any stretch on the imagination. I have attached a very simple EA just using a Daily Pivot nothing elaborate in an attempt to try and get the Kelly Lot Size going. I would appreciate

TrailingStop Addition Please Help

Hello Could someone please add a TrailingStop to this EA Kind Regards Kiwi

Percentage Based StopLoss

Hi I have this bit of code extern double Ratio=1.10; double StopLoss = (AccountEquity()/AccountBalance()>Ratio) *Point; I am trying to have a 10% StopLoss based on 10% of the equity. Am I on the right track or way off based to get this right. Any help would be great

Lot Increments

Hi Has anyone manage to code an EA to that gets around this 0.1 lot (10 000 units of the base currency) with incremental lot of 0.01. 1 pip with 0.1 lot = approx. USD 0.1 It's part of the FX open ECN FXOpen - Trading Terms - Type of accounts sorry if the link is not allowed but that where the info

Multiple MA Cross

Hello Now this will not be new but has anyone coded an EA to use multiple MA crosses instead of the single cross e.g 5ma cross 8ma scalper 20ma cross 50ma short term 100ma cross 200ma medium term 250ma cross 450ma long term Each of the above crosses are in the one EA and have seperate entry and

Can a code be written to detect what account type is being used e.g. Nano or Mini etc

Hello Is there away of detecting the type of account traded Standard or nano or mini

How many wins before a broker will stop your ea from trading

Currently I'm forward testing my ea on a daily tf. I am testing with four different brokers. With 1700+ wins do you thing I will have a problem. There is a float but there is also equity protection

Martingale system help please with close function

I have been trying to create a function that will close a long position when a short signal is fired and vice versa. could some kind soul please help me out.. I am using the 10p3 as the base but I have taken all the indicators our and set up a bar set up. if (Open[pos+0]>=Low[pos+1] &&

Invalid Lot

void CheckForOpen ( ) { int res ; double entry , stop , profit ; if ( exit ) return ; //---- buy conditions if ( addbuy ) { res = OpenAtMarket ( OP_BUY , _1stlots ) ; if ( res < = 0 ) Print ( "Error opening BUY order : " , ErrorDescription ( GetLastError ( ) ) ) ; else AdjustStops

Standard Deviation Help Please

Hello Does anyone have a code for calculation the Standard Deviation between the Open and High and the Open and Low Cheers Kiwi