I want to create a system to use on forex markets following 4 conditions, however I don’t know how to write a code matching them. Can anybody help me out or tell me where I can learn how to write codes like this?
Conditions to enter long:
Price > MA50
SET UP BAR – Look to buy when close is in the top 25% of the bar’s range
Either the set up bar or the previous bar is the lowest low of the last 5 bars
Enter market on the next bar, only when and if the price trades 1 pip above the set up bar’s high
The fina buy condition makes no sense. It states “buy if the bar trades 1 pip over it’s own high”. Obviously this will never come true. I replaced it with a stop order.
How to code such simple conditions you learn by reading the two manuals proorder/probuilder, very simple.