thats right
Posts made by roar
-
RE: stochastic oversold/overboughtposted in Questions & Answers
put a condition block before buy/sell block
condition: stoch > 20 to sell
condition: stoch < 80 to buyit is up to you which line you choose, main line or signal
-
RE: Fractalsposted in Questions & Answers
Fractal value is candle high or low.
A fractal formation needs 2 candles to confirm, so you will never know if candle (id 1) has a fractal or not. Use id 2 -
RE: CANDLES COMPARISONposted in Questions & Answers
Two conditions:
candle close > high candle id 3
OR
candle close < low candle id 3IDs are not negative, btw
-
RE: PAST MOVING AVERAGE DEFINITIONposted in Questions & Answers
Yes you do. At the latest candle you can now see where MA was 15 candles ago.
So, condition: candle (id 0) > ma shift 15 (id 0)
you get the same result with this condition: candle (id0) > ma (id 15) -
RE: PAST MOVING AVERAGE DEFINITIONposted in Questions & Answers
@ggrobot said in PAST MOVING AVERAGE DEFINITION:

look at the example, , the green MA20 is shifted -15
Remove the - (minus) symbol
+15Also, you can use the ID method with indicators too, just like candles.
-
RE: PAST MOVING AVERAGE DEFINITIONposted in Questions & Answers
when editing the condition block, hit "more settings" and there you can adjust the ID.
But working with shift is literally the same as working with candle id:
MA shifted 2 = MA (id2) -
RE: PAST MOVING AVERAGE DEFINITIONposted in Questions & Answers
How is shifting the ma wrong?
Do you mean you want to compare candle (id5) to MA (id5) ?
-
RE: MA CrossOver Conditionposted in Questions & Answers
I think you have to use two condition blocks. First one checks simple "<" or ">" and the last one checks the crossover.
Now you can use the first condition's yellow output -
RE: How to set same Take-Profit for all previous trades?posted in Questions & Answers
How do you determine the TP in first place?
-
RE: trailing stop OR conditionposted in Questions & Answers
If you connect your trailing stop block to condition block's yellow output, trailing works only when condition is false
-
RE: MULTIPLE TRADES CONDITIONposted in Questions & Answers
Ok

Well, I think you will learn these eventually anyway, if you are going to be successful ea builder
The idea in this is to count bars, and then check the counted bars before buying or selling. If there is a spike, the counting starts from 0, and so no trading for a while.
-
RE: MULTIPLE TRADES CONDITIONposted in Questions & Answers
This is what I use in similar tasks. There is probably simplier solutions..
https://fxdreema.com/shared/AY3GhifBd
As you can see, it pauses when there is an impulse.
You can adjust the impulse size with minRatio constant (bigger ratio, bigger impulse) -
RE: MULTIPLE TRADES CONDITIONposted in Questions & Answers
Of course you can control your trades, but what do you want, exactly?
That the trades don't open every bar? Then use "once per minutes" bar, for example. -
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
sorry, youre right, there is still some stupid bug I can't understand

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
I got my example working too, had to reset the high/low variable (to 0) at closing block.
Btw, this principle is not far from just using Trailing stop

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
Thats quite insightful solution

And should even work! -
RE: What is the block "Send file to FTP" ... and how to use it?posted in Questions & Answers
It sends a file to your website, or any ftp server you have access to.
In metatrader, go to Tools->Options->FTP to set up your server detailshttps://www.metatrader4.com/en/trading-platform/help/setup/setup_publisher
-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
Oh, okay, thats strage

The formula block is now putting "10" to a price, for example 1.16590 + 10 = 11.16590
Reeally strangeI didn't test it myself