Codes

DailyLines for MetaTrader 4

DailyLines Vertical lines starting new Day with above name of the DAY. Period Separators with options to choose different styles

DailyLines Vertical lines starting new Day with above name of the DAY. Period Separators with options to choose different styles. for MetaTrader 5

Like period Separator each new day will gets its vertical line at starting. With several options how to display

Zigzag with line at lows and line at highs for MetaTrader 4

See http://forum.mql4.com/54660 for getting a connection between highs and a connection between lows. I made a zigzag this way

clock displaying time in main chart for MetaTrader 4

For those trader who can't stand having the Market Watch or Navigator boxes up on their platform but like to have a time displayed on chart a Simple Clock Indicator

News events and market times on your chart for MetaTrader 4

Indicator displays News with a market clock

Profits your EA(s) have made on your account for MetaTrader 4

These indicators are made to show how much profit your EA have made in a certain period

Forum

V625 StrategyTester Optimization bug ObjectFind ??

I made an EA that when price passed a line condition for opening a trade was true The level was found with if ( ObjectFind ( "new_buy" ) != - 1 ) { buyprice = ObjectGet ( "new_buy" , OBJPROP_PRICE1 ); { if (pAsk >= buyprice)Openbuystop = true ;

int init() old way in new 600++ is it losing its values ??

This is what i saw EA on chart Closed its trades and had to restart new trades but error from EA '2014.03.11 11:12:28.713 zero divide in 'robodo4.8.mq4' (713,56)' (Build 600) the moment EA was attached to chart double Lot = 0.2 ; double MinLot,LotStep,StopLevel;

importance newslines on chart what is more important ??

I like to know from you what you think is more important it is about news from forex factory calendar at newstime i make an indicator like i had done before for the dailyfx displaying vertical lines i wanna have also a line for the start of a bank holiday the color of a line will depend of the

I can't believe the new programs in Code Base passed proofreading....

Sometimes it takes long before your program is published in section Code Base The new Code has to pass a proofreading So when you see a new published code You may expect a little quality . //+------------------------------------------------------------------+ //|

Screenshots immediately in the right size

I like to know how I can make this picture immediately in the right size This is necessarry for publishing in CodeBase If I open the inputparameters of an indicator I do not know how I can make directly a picture of the chart So I wanna know how to do this the best way for publishing of pictures in

Different font types to use in mql4

I opened this topic because I'm searching for a list of different font types To display text with Objectsettext on Chart Who knows where I can find such a list with font types like "Verdana", "Arial"

What is in this case Minimumlotsize ?

double NormalizeLots( double lots, string pair= "" ){ if (pair == "" ) pair = Symbol (); double lotStep = MarketInfo (pair, MODE_LOTSTEP), minLot = MarketInfo (pair, MODE_MINLOT); lots = MathRound (lots/lotStep) * lotStep; if (lots < minLot) lots = 0 ; // or minLot return (lots); } On one of my