Is there a way to find the highest/lowest (high/low/open/close) value of past x number of candles?
Example, what do I find the highest close price of last 50 candles?
Is there a way to find the highest/lowest (high/low/open/close) value of past x number of candles?
Example, what do I find the highest close price of last 50 candles?
Blessing EA is one of them, see the link http://www.jtatoday.info/wiki/index.php?title=EANumber
The EA allow number or 1-99 (and EA name, symbol & timeframe) to be used to generate auto EA number.
Quote from the site:
If a number between 1 and 99 is used, then the EA will automatically generate a magic number, which is used to track the open trades. The automatic magic number is based on the EA Name, EANumber, Chart Symbol, and Chart TimeFrame.
A suggestion:
Some of the EA that I have tried support auto magic number, the EA basically uses the EA name + currency part to hash a unique number.
This will eliminate careless testers like me from getting funny result because we forgot to change the EA number when testing the EA on multiple pairs.
The order# is the first number in the MT4 column, I think it could be the ticket number.
My account has orders that are opened manually and some by the EA. I was thinking of creating an EA to close certain trades based on some condition, but I only want the EA to watch only certain trades which I can input the ticket number.
If it's too difficult, then never mind, I will think of another way to solve this, thanks.
Hi,
2 questions:
How do I close a trade by the order number?
I noticed that every block have "Change Status to", what is the purpose? How do I use this?
I cannot seems to save a project as a different name, and retain the original project.
I like to save project as ver 1.1, 1.2 during the improvement so that I can revert to older version if I need. Current I use export and import to solve that, is there an easier way to do that?
Thanks, I just figured out how to do it with the new comment block.
Is it possible to have more than one comment block?
I like the ease of use, and I need to display more information, so it will be good to allow multiple comment block, or maybe more lines in the comment block?
How do I detect the price cross over a trend line that I have drawn on the chart?
I tried Condition->Bid Price X> Object On the Chart, but it cannot detect when the price cross over. I have checked the name of the trend line on chart.
Just found out that I need to select the line by double-clicking it or set the "Selected" in the Draw Line properties before i can drag the line.
Thanks!
I am trying to create an EA that allow me to drag a horizontal line on the chart to set a target price, I have gone through the blocks and does not seem to be able to find one that allow me to do that.
The EA will start by drawing a horizontal line default current bid price+100. I am then able to drag the line to other value, and this will change the value of a variable.
Can this be done?
How do I create drop down menu option for inputs?
Eg. I want the select on of the currency pair from the list "EURUSD","AUDUSD","AUDCAD".
Yes, examples are appreciated. Need example to show how to draw, re-draw and remove object from chart.
Let me know if the examples are ready.
Got a few questions on drawing on chart:
How do I draw a text, later re-draw it with new text with the original text removed?
Can I draw and re-draw Comment block?
How do I draw a horizontal line based on x price?
The black text is barely visible on grey bar of area, is it possible to change the text colour to white?
Not sure is it me only to find it hard reading the title.
Thanks, I managed to get it working after I changed it from "Terminal Variables" to "Values".
What is "Terminal Variables"?