@laudable222
Please upload an image with the error message.
Posts made by RGoo
-
RE: EA not compiling due to incorrect data types of input parametersposted in Questions & Answers
-
RE: My EA won't open any trades..posted in Questions & Answers
@nicholasweber86
You have to test one condition after the other.
I have created a help for you to do this.
In the comment you can see that your EA only gets to the first condition.
Now you have to move the control block further and further until you know with which setting all conditions are fulfilled.
Of course, you can also use only one control block.
Also, no order is smaller than 10. Here you only need one block.
In your current setup, the EA would open a position with every tick if the conditions are fulfilled. You have to prevent this.
Attention! The display is in black letters. If you use a black background, you must choose a different colour. -
RE: Create EA based on vertical Lineposted in Questions & Answers
@zedeai2
You have to be a bit more specific.
According to what you have explained, it would be enough to position the order blocks as below,
but that is probably not the problem.
And the objects should get a string variable and better not start with a number. (see example) -
RE: There must be a way to work with FIFO rules.posted in Questions & Answers
@jjtrader
The interesting thing about programming is that there are many ways that lead to the goal and you can program almost everything easier. I have determined a much simpler way.Even without an exact start, the EA keeps its head above water. Your strategy seems to be quite good.
You can remove the display, that was only for control.
The BE could also be helpful, but you can also delete it. -
RE: There must be a way to work with FIFO rules.posted in Questions & Answers
deleted because of update
-
RE: There must be a way to work with FIFO rules.posted in Questions & Answers
deleted because of update
-
RE: Maximum open postionposted in General Discussions
@sopzen
Sorry, that was not for you, but for "mcvinbabas".
I thought "mcvinbabas" had written. -
RE: Maximum open postionposted in General Discussions
@sopzen
Have you considered that this is a loop function?
If the block is triggered once, it outputs the desired number of pulses.
So the block does not only pass x pulses!!!
Here is an example.
https://fxdreema.com/shared/2afQl9mG -
RE: There must be a way to work with FIFO rules.posted in Questions & Answers
@jjtrader
I have improved it once again. When the old trade is closed, the younger one becomes the oldest.
Well, logic should be treated just like a woman, always careful and think beforehand what you want to do. -
RE: There must be a way to work with FIFO rules.posted in Questions & Answers
@jjtrader
Do it the way the broker asks. Close the oldest trade first. If you want to open several "double" trades, it will be more difficult.
Here is a small suggestion, but I have not tested it and not completed. -
RE: Maximum open postionposted in General Discussions
@jstap
Let's see, a third party sometimes recognizes the error faster. And believe me, there is always a mistake ..... you just don't see it. That's why people think it's a system error. -
RE: Maximum open postionposted in General Discussions
@mcvinbabas
If the block does not work, then you have an error in the rest of the program. This means a logic error. -
RE: Need Help - Buy Order was performed only 1 time.posted in Questions & Answers
@jargonloq
This is then most likely due to your indicator. With the "control counter" you can check if the indicator shows the condition as fulfilled. The counter must increase. However, in order to use your own indicator, you need to know a little more about how to use fxdreema. You should study the fxdreema page carefully beforehand. -
RE: I know that maybe this post is repeated but I believe it's worth it to try to find the sum of swaps, commissions, etc...posted in Questions & Answers
@ontradingx
Have you considered that the swap is included in the profit?
So if you close the positions with 0 profit you have already earned the swap.
If you want to add the single values, you have to do it a bit differently.
I have attached an example for you. -
RE: stochastic levelsposted in Questions & Answers
The function "==" is usually used only for a boolean function. Because your indicator would have to have exactly the desired value at the moment it is queried, that is very unlikely. You can use " x> " or only " > ". But in the 2nd case you have to limit the number of purchases. Because as long as the condition is fulfilled, with each tick would be bought. The condition " once per bar " could be used for this.
-
RE: how to add matriangle.. please halp meposted in Questions & Answers
@egaxme
Ok, I see, but in this case I can't help you then. -
RE: how to add matriangle.. please halp meposted in Questions & Answers
@egaxme
I just watched the video again, which I had linked to you. I'm afraid you didn't mean that kind of martingale solution. That was my mistake. In the Boxxocode video series, the martingale variant is often used directly in the buy block and this is what I wanted to show you. It will be the best if you briefly describe how the EA should work. Here is a picture of the use of the maringale in the buy block.
Please keep in mind that the maringale strategy can be very dangerous. Your indicator must definitely create more hits than errors even without M strategy. If not, you can also roll the dice and the M strategy would bring the same result.