Forum

help with EA running with iCustom

Hello, I'm trying to get an EA to run off of buffers from a custom indicator . The indicator creates arrows indicating long and short, and closes the trades with arrows indicating close. The SL is drawn on the chart with a buffer as well. I want the EA to open trades when a buy/sell arrow is printed

Making an EA based off of a custom indicator

So I'm trying to turn an indicator I wrote into an EA. I coded the logic into the indicator so the buffers draw a line where my SLs should be, as well as drawing arrows where my entries and exits are. How would i phrase it using iCustom so that it places my trades based on those buffers? Would it

Trouble with coding entry/exit arrows

Hi, I'm trying to code my strategy into my indicator so it prints buy/sell arrows that I can easily convert into an EA, however I'm having some troubles coding the logic for it. Here's what I have coded for it so far: if (LS) { x = 1; } if (x==1 && mColor==Green) { x =2; } if (x==2) {

Trouble with delayed events when coding strategy

Hello, I was wondering if anyone could help me with a problem I've been having I have pretty much my entire indicator coded, however I'm trying to get it to draw buy/sell arrows based on my strategy so I can hook it up to an EA Basically I'm saying "if this line touches price then becomes