I am attempting to learn easylanguage and have been working through the document trying the exercises etc.
I am struggling with my own attempt at a strategy and was wondering if someone could give me a pointer as to what I am doing wrong.
Below is the code, I am only trying to get the vuys working at this moment hence not much there, but when I add the signal to my charts I don't see any buy orders opened.
Code: Select all
value1 = Highest(High, 20);
condition1 = value1 < Close;
if condition1 then buy next bar at market;
Please let me know what I am doing wrong.