Sorry guys, where am I wrong???
-
Hi all, i'm trying to understand how this beautiful builder works. I'm training with simple stochs and arrows.
here is what i created but no arrow appears
https://fxdreema.com/shared/9pXkp0LlbThe logic is:
UP arrow when we are above 150 MA and 3 stochs main line are under 10.
SELL arrow when we are below 150 MA and 3 stochs main line are over 90.I'm "on int" field to see also the past arrows.
Where am I wrong?
Thank you -
place all blocks into "on Tick" section, on Init runs only once while initializing ...

-
Thank you very much my friend! now i got 1 arrow!!!
Anyway i read somewhere a your post where you suggested to move from "on tick" to "on int" in order too see also the past signals...maybe i'm wrong.
BUT: how can i get past signals also? -
yes past signals from on Init is possible, but it was with "loop" -- looping through past candles (their IDs) using arrays, and it is something little complicated but not much ... open that post again and try to understand logic used in that, you must know what are arrays ...
... anyway, start with simplier stuffs and continue test them with adding own things into logic, step after step you will be able to create more complicated things ...if you want to see history candles only to check, run your EA in visual tester (normally you dont need to use arrays for visual tester, but sometimes maybe yes
depends ) -
Right Miro!
thanks again -

your EA in visual tester

-
Yes indeed i didn't think about visual tester!
Another question, pls, just to understand the logic of builder.I learnt how to draw arrow, so i'm moving on next step. Let's say after a buy arrow i want a "stop" arrow.
(I'm trying with envelope bands.)
My thoughts of why i connected blocks like this is: after and only after a buy arrow draw a stop arrow once the second block condition is met (fast lower envelope band crosses up the slower envelope lower band). Viceversa for sell.
But no stop arrows appear. I got only the entry arrows...How to correctly connect theme? -
you must somehow check what was last arrow ...
if last was buy arrow, than you can draw stop arrow,
if last was stop arrow, than nothing will be plot
... but this needs a lot of blocks, and loop
it is not simple