Forum

How do I set BUY/SELL as input

In an EA, what code will I use to make BUY/SELL signal appear as options in the EA control panel: This s required because the stategy can only work fo BUYs or SELLs on different indices and not both at the same time

Need help coding an indicator

I am new to programming. I've got an idea of a mathematical formula for an indicator. The idea is to calculate a value X = change in price / standard deviation . Where 'change in price' is shift (0) closing price minus shift (n) closing price and standard deviation is calculated for the nth period

Need help building an EA

I have an idea of an EA that can be used to trade a particular synthetic index. The idea is to add a Momentum indicator (Period 14) to RSI window (Period 1) with two RSI lines (at 10 and 90). When the momentum touches the 10 line or goes above it, a buy is triggered immediately and runs for 3 bars