
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
There are six handles from one indicator on three timeframes.
And the offset of the value to be taken, is already laid down. I copied from them one value at a time.
I got confused by using three handles of one indicator on three timeframes and copying the possible offset interval from them.
If you need to get an indicator value from more than one bar at a time, you should copy the values into an array. Using iATR as an example:
If you want to receive an indicator value from more than one bar at a time, you need to copy the values into an array. Using iATR as an example:
Yes, it seems it was a mistake to leave the arrays I copied to as dynamic. :(
Will check.
Yes, it seems to have been a mistake to leave the arrays I copied to as dynamic arrays. :(
I'll check.
I copy only to dynamic arrays! And, before copying, forcibly makeArrayFree. I had problems with static arrays. Since then, only dynamic ones.
I only copy to dynamic arrays! And before copying, I forceArrayFree. There were problems with static arrays. Since then, only dynamic ones.
Got it. The error is not here.
Here is the Expert Advisor that did not go.
Got it. The mistake is not here.
Here's the expert that didn't go.
ERROR: are you copying ONE value or TWO?
ERROR: are you copying ONE value or TWO?
In this EA (it is different in date) I have tried three handels and two hundred values.
If you are ready to make robots for MT5, I can begin to give you ideas. I simulate conditions in TS-Lab, but I would like to trade them on MT5 in auto-mode.
If there are no problems with the test, I will describe the trading logic. The first will probably be this one.
#55
I'll start with small portions.
As soon as there are"Seconds before closing the signal candle" seconds before the current candle closes, we calculate the average size of"Number of candles for calculating the average candle size" candles. If the current candle exceeds the average size by"Current candle: excess body size, percents" - we open a position with the volume"Lots" and place a pending limit order with the volume"Lots" *"Multiplication factor" from the opening price at the distance of"Pending limit level: percent of the height of the current candle" in percent of the signal candle height.
Is this correct?
I need time to remember what I made there :) I'm getting a cold because of the draughts. It's both angry and funny: to catch a fever in summer and catch a cold :)
It takes time to remember what I've been up to :) And then, as if on purpose, there are draughts and the result is a cold. It's both funny and angry: to catch a fever and catch a cold in the summer :)
Feel better.
I only copy to dynamic arrays! And before copying, I forceArrayFree. There were problems with static arrays. Since then, only dynamic ones.
Oh, come on... I don't have a problem with static ones either. It depends on what we're talking about, though. In the indices, yes, dynamic ones are better, if there is no desire to manage the buffer and catch errors. But in owls there is no difference, in fact.