@l-andorrà Is there a way to store the opening candle’s id? Is there a unique number for it? That would help if it was possible!
Posts made by yoloyacht
-
RE: N candles from open?posted in Questions & Answers
-
N candles from open?posted in Questions & Answers
I want to do this:
If current candle is 5 candles away from opening candle, do some action -
RE: EA won't run when Stop Loss is a variableposted in Questions & Answers
@jsauter86 even as a value it doesnt
-
EA won't run when Stop Loss is a variableposted in Questions & Answers

My "brik" value is the candle body size
-
RE: How Do I Store Opening MA Value as a variable?posted in Questions & Answers
Noob question, how do I add the variable to the condition block?
-
Quick question on pips away from profitposted in Questions & Answers
Is the value greater than? Or is it the exact number?
What I want to achieve is that if I’m Atleast 10 pips away from open, I trigger another block to do something.Thanks!
-
Printing live dataposted in Questions & Answers
On the screen I want current data to be shown.
These specifically:- pips in profit/loss
- MA value
Thanks!
-
How Do I Store Opening MA Value as a variable?posted in Questions & Answers
For example, my opening candle's MA value is 5, 24 candles later, I want to compare that MA value with the opening candle's value. How do I do that? Thanks
-
RE: How do I do this simple custom code?posted in Questions & Answers
@l-andorrà Yes. Did some backtesting too and it's working the way it should so far
-
How do I do this simple custom code?posted in Questions & Answers
I have a modify stop, with value of an indicator of the previous candle being the stop loss.
However, I want to store values and only modify the stop loss if it hits this condition:
If value of candle 1 > current_stop:
modify stop loss
else:
Don’t modify stop lossThis is what I have set up currently for modify stop

-
RE: How to Set Previous Candle's Low as the new stop loss?posted in Questions & Answers
@l-andorrà on MT4 though I have a live Renko chart and on the data window it displays the correct price.
Ok but let’s pretend it’s not a Renko. I just want the previous candle’s low as a stop loss. What should I do?
-
RE: How to Set Previous Candle's Low as the new stop loss?posted in Questions & Answers
@l-andorrà I’m trading on a Renko chart.

-
How to Set Previous Candle's Low as the new stop loss?posted in Questions & Answers
I tried breakeven point but it only allows for fixed pips or % of SL/TP
Would Trailing Stop do the trick like this?

-
Need help with SLposted in Questions & Answers
I've been testing a bunch of different EA's and found that my exits are what's causing my high loss rates.
One thing I want to try testing out is this strategy but I don't know how to set it up.
When a trade opens, set a SL of 5 pips.
When the trade becomes profitable by 1 pip, set the SL to breakeven.
Then when the trade goes up another pip, set a trailing stop of 2 pips.This is what I have so far but not sure if this is the right set up.

-
RE: Trailing Stops Not Working As They Shouldposted in Questions & Answers
Why is it changing directions though? That's my current obstacle unfortunately. Then from there i'll be experimenting with pip sizes
-
Trailing Stops Not Working As They Shouldposted in Questions & Answers
For example, a buy order, the new stop losses should only be going up right? But when watching the open trade, it goes both up and down. Why?
Here's what my trailing stop looks like

-
RE: Not Working on Offline Charts? Works on Backtest.posted in Questions & Answers
@l-andorrà it’s actually on the on ticks tab.
I was just trying out on chart stuff to see before I made the link