Creating a BUY/SELL order at touch of indicator

 

Looking to create my EA to buy/sell at price == indicator value.  New to programming and I have a custom indicator that creates a VWAP at a specified position. I would like the EA to buy or sell after I place my VWAP starting point.  It would be a semi-automated EA as I would decide where the indicator calculation starts, but the EA enters and exits the trade.  Also, I would need to let the EA know whether to buy or sell. Thinking I could select at initialization of EA to only buy or sell or program it in to identify if price is coming from above/below line to buy/sell. I attached an image to give an idea. Any help would be great!!!!

Files:
tempsnip.png  39 kb
Reason: