@l-andorrà i know that martingale is not work in a long term, but maybe if i use it only in a specific condition it could be better. However i changed the "crossover condition" with "major/minor condition" and it seems to work well. I'll keep you updated, thanks
Latest posts made by ad
-
RE: Crossover RSI + Martingaleposted in Questions & Answers
-
RE: Crossover RSI + Martingaleposted in Questions & Answers
@l-andorrà what do you think about my post?
-
Crossover RSI + Martingaleposted in Questions & Answers
Hello everyone, i tried to make an EA with multiple conditions:
- if RSI crosses below the numeric value n.1, then open the trade n.1 in SELL (with a TP and SL fixed)
- if the price moves to SL, when the RSI crosses below the numeric value n.2 (bigger than the n.1), then open the trade n.2 in SELL (with a TP and SL fixed)
- ...and so on until the last possible trade
I want to open the trade n.1 only one time (when the condition n.1 is verified for the first time) and, if the price moves to SL, open the trade n.2 only one time (when the condition n.2 is verified for the first time), and so on, in a sort of martingale logic,...until the price hits the TP or SL of my trades.
Now i have two problems:
- the EA opens simultaneously more trades at the same price instead of waiting for the change of RSI....i mean the open price of SELL n.2 should be higher than the one of SELL n.1 (and so on the for the other trades)
- i used "once a day" block to open the trade only one time but it's not correct...i don't know which block i should use
I made a lot of tests all day but i didn't solve the problems.
Anyone could help me please? Thanks in advance.Here is the project
https://fxdreema.com/shared/QCwgcCWP
Andrea
-
RE: Custom Indicator - Color dependent operationsposted in Questions & Answers
@ambrogio
I understood, thanks.
I learned too little fxDreema ... I have to study more... -
RE: Custom Indicator - Color dependent operationsposted in Questions & Answers
@ambrogio said in Custom Indicator - Color dependent operations:
that indicator repaints a lot
What do you mean by "repaints a lot"? There's no way to develop an EA with this indicator?
If you are italian please write the answer in italian (i'm italian too), thanks -
RE: Custom Indicator - Color dependent operationsposted in Questions & Answers
Unfortunately it happened again, even if i used tick for test: the EA didn't open all the right positions.
This is my project (is the one that comes closest to my objective):
https://fxdreema.com/shared/9UR13kz6dAnd this is the indicator (i have only *.ex4 file):
0_1586527196308_AbcIndex.ex4I tested for example from 01/04/2020 to 06/04/2020 (day/month/year): the EA should open buy position in candle 0 each time the buffer 1 appear in candle 2 and in candle 1. For the same reason should open sell position in candle 0 each time the buffer 2 appear in candle 2 and in candle 1.
The EA sometimes forget to open position and sometimes open position in wrong candle (i'm sure i made some mistakes but...in which part of the project?)

Any suggestions? Thanks for your time.
-
RE: Custom Indicator - Color dependent operationsposted in Questions & Answers
The problem was the model of the strategy tester, not on EA: if you choose the faster model (only opened price) the EA does not verifie well the conditions all time.
So i chose the model "each tick", it's slower but more precise.
i tried also another stategy, using custom variables, and everything it's ok.Now i'm devoloping a more efficient strategy for TP with trailing stop and/or close trade with condition....if i have a problems i'll open a new topic.
Thank you all @Xfire , @l-andorrà ,@ambrogio for your suppport
-
RE: Custom Indicator - Color dependent operationsposted in Questions & Answers
I didn't see any difference from your post. (i didn't put the name of the color but i think it's not important).
However I deleted and re-uploaded the indicator but nothing changed.
I started the strategy tester again and it opened/closed only 3 order in 3 days while it should open 7 order in the same period.
I'm trying to understand what @ambrogio wrote...my condition is multiple, the same buffer of two consecutive candles must appear and maybe i made a mistake to the condition.
