Codes

Deviation Ratio for MetaTrader 5

Volatility/volume indicator based on price deviations anomaly

Forum

1e-05 Money Management

Hi, Please help me with this I dont know how to fix it. double OnePip = 0 ; if (TradeSymbol == "JPY" ) {OnePip = 0.001 ;} else OnePip = 0.00001 ; This gives me at non JPY pairs OnePip = 1e-05 How can I convert 1e-05 to number 0.00001 for calculations ? if (OnePip == 0.00001 ) {Calc_Lot =

Take value from indicator to strategy

Hallo experts, Question is how to take value from custom indicator to strategy ? I build indicator with some signals and put it in with iCustom(.....); It works fine but :/ Is some solution how to export that bool vriables to strategy ? here is part from indicator : bool SetBuy = false; <-- this

Moving Average value is not correct with chart value

Hallo, I dont understand what is wrong this : Here you can see actual value in comment but its different than value of MA-line on chart :( void OnTick() { Comment ("Linear MA = ",MA_Linear()," ","Exponential MA = ",MA_Exponential()); } double MA_Linear() { double MA_Linear_Array []; int