Forum

Price action entry

Dear all, I'm looking to code the following entry criteria: Define the Swing High correctly and its validity. Find the first Break High within the Swing High's validity. Confirm continuation of counting (Break High) by Break Low. If the second Break High appears plot an indicator arrow. Could you

ObjectCreate without anchor point

Hi Friends, I've created a custom button and my intent is that when I press it, it creates a horizontal line with preset parameters. May I ask if it is possible to create OBJ_HLINE without any price anchor point so that I can place it on a chart wherever I wish, just like I would with the draw

For loop help

Hello friends, I'm new to MQL and fairly new to MQL5 community so I really hope I'm asking this question at the right place. I intend to upgrade this simple 3 bar entry criteria with a for loop so that I can give an extern variable later on how many bars to look for. Original code: if (Open[ 1 ] <

Second Entries

Hello friends, I decided to learn coding so that I can create an indicator that would give me the following: A market condition where a candle breaks higher from the previous one for the second time. The logic is illustrated in the above picture. First condition is swing high found with iHighest