delay-block?
Posts made by roar
-
RE: SL is just a previous candle..posted in Questions & Answers
yes, you would have to store that level to a...
you guessed it....
variable -
RE: how can i have multi order at same time (same hour and minute and second )posted in General Discussions
oh sorry, i used the wrong block...
well, i think you will anyways have some latency towards your broker - i wouldn't expect any ea to work in milliseconds in order to make profit -
RE: How to code that my candle is between support and resistant?posted in Questions & Answers
@timmyhanke
Youre right, that works - but if you want to automate the whole process, drawing the lines in right places will be some problem -
RE: How to code that my candle is between support and resistant?posted in Questions & Answers
This is (also) done with variables, but first you have to set up the process finding those lines, thats the hard part and I cannot help with that

-
RE: Save information of certain candlestick for future references.posted in Questions & Answers
https://fxdreema.com/help/working-with/constants-and-variables
Here's some info about constants and variables.
You can create your variables to the variable list, which is on the left in builder, above the search box.
Just create some system with "modify variables" block, test it around, you will (eventually) see how they work
You can replace nearly any value with a variable or constant, by right-clicking the number
-
RE: Stop Loss and close all orderposted in Questions & Answers
I tested it with live account, works fine for me

There's surely other ways to do this, but thats the best I came up with
-
RE: Save information of certain candlestick for future references.posted in Questions & Answers
All right, so create variables for each piece of info (openprice etc....)
To use only on special bar, you need condition, like if openprice = 0, only then modify it
and then reset it back to 0 every day or whatever fits
-
RE: Stop Loss and close all orderposted in Questions & Answers
https://fxdreema.com/shared/8Ts9mzJ0e
This example doesn't care if the trades are buy or sell, but
it checks if there is any stop-loss, and
when there suddenly isn't any stop-loss anymore (because that position closed)
-> it closes all remaining tradesYou need couple variables with that setup, StopExisted which is used to "remember" that there was a stop-loss, and StopsNow
-
RE: Save information of certain candlestick for future references.posted in Questions & Answers
Use variables to store any information, with the "modify variables" block.
Although you need some logic to reset the data and restrict its process, you probably dont want replace the data on every bar? -
RE: Martingale on next candleposted in General Discussions
I know something even better!
Go to a roulette table, bet everything in red, there's insane profits! It can turn 400 usd to 4000 usd in 2 hours -
RE: Triger an order when different between Values confirmedposted in Questions & Answers
The one i sent calculates the difference in 3 bars' time - if the gap between lines was, say, 12 then and now it is 17 -> order is triggered.
-
RE: Triger an order when different between Values confirmedposted in Questions & Answers
@Jtex555 said in Triger an order when different between Values confirmed:
within 3 candle stick.
What do you mean by this? The value grows by value 5 in time of 3 bars?
this can be done with formula-block
stoch mainline - stoch signal linelike this
https://fxdreema.com/shared/lNXkAMFle -
RE: builder cant set pending limit order by pipsposted in Questions & Answers
atr, by default, shows a price fraction (like 0.003421)
https://fxdreema.com/shared/LqRr6HOhd
thats for atr -
RE: builder cant set pending limit order by pipsposted in Questions & Answers
https://fxdreema.com/shared/NxMZ0yxob
Something like this..
I dont know about your indicator, i assumed the indicator gives its output as pips (usually indicators output price levels or fractions)Hope you get the idea
-
RE: builder cant set pending limit order by pipsposted in Questions & Answers
use Formula block to add the pips to current level, so you get the level you need
-
RE: comparing between 2 or more candlesposted in Questions & Answers
use condition block
- there you will find the candle option
- you can select which part of the candle you compare, high low open close etc..
- you can select which candle you mean, id 0 is the current candle, id 1 is previous, id 2 is the one before id 1 ...
