Forum

record support resistance levels

hello i'm trying to record support resistance levels of the fx market with an array. anyone who has done this before can you write reply please i don't want to reinvent a wheel 1‌. the array will check last 100 bars on M1 periodicity chart to find highest highs and lowest lows ‌2.different code

bands

hello im trying to code an expert advisor that does trade after moving average is higher than bands main (after bar closes. shift 1) if (iBands(NULL,0,20,2,1,PRICE_CLOSE,MODE_MAIN,1)<iMA(NULL,0,PERIOD_CURRENT,1,MODE_SMA,PRICE_CLOSE,1)&& OrdersTotal ()== 0 ) OrderSend ( Symbol (), OP_BUY ,lots

mql4 order select function question

hello mql4 question by default OrderSelect() is assigned value 0 so what switches OrderSelect() from 0 to 1? documentation reads "if the function succeeds" but that is not enough information thank you

OrderSelect function question

boopa26 can write order send code but cannot write order select function to close orders. wants to write order select function to close orders without for cycles or while cycles. boopa26 wants to write order select function to close orders with if conditions but boopa26 does not understand to