Forum

how to get value from datawindow from indicator using icustom

Hello, i need some help.. i'm trying to get the value from indicator using icustom but it return emptyvalue which is 214783647.. i already try different indicators but i can't figure out why this currency indicator return emptyvalue, anyone pls help since i'm not a real coder.. I attach the

Double Entry

Hi my EA have some issue that it can double entry the position with the same magic number.. im already using this logic as my header code but it can entry twice.. if (orderposition(100) != 0 ) { condition of trade } can someone give me a hint how to make it not entry twice the same magic number

Error 4051 invalid stoploss

Hello i got an error like this could anyone please help me to figure out how to fixed it?.. this is my stoploss code : double getOrderStopLoss( int orderMagicNumber, int orderType, double price) { double value = 0 ; if (orderMagicNumber == 700 ) { if (( Bars > 20 )&&(sqLowest( Symbol ()