maybe this related to your strategy. give a look
youtube. com/watch?v=H8EKS5jG1tE&t=17s&ab_channel=Boxxocode
Posts made by nadalmir
-
RE: Store Value Of Last SL into a variable.posted in Questions & Answers
-
RE: Draw line when in profitposted in Questions & Answers
@l-andorrĂ yes 100% work automatically. how to setup the variables in this strategy.
the reason I want to use line instead of SL trailing because my main strategy is grid trading where some point robot will open lot of trades. then when in profit I don't want all the trade move SL moving around as this approach will get a warning from broker due to lot of sl moving trailing in same time
-
Draw line when in profitposted in Questions & Answers
Hi I want to implemement this strategy on my project
when there a buy and sale trade . total trade profit in 10usd . I want a line is drawn at profit 5usd
when total profit in 20usd. draw a line at profit 10usd. then delete the previous one.
this is like a breakeven line function. I don't want to use trailing stop and breakeven. i want to use line drawn as a breakeven line,
when candle move below the drawn line. all trades will be close.. please help
here is my Illustration
A: Profit 10usd detected
B: Draw line at 5usd
C : candle goes up above yellow line. close all tradeI want it continuously detect every 10 USD in profit and start draw line at -5 USD from current profit


Here is shared project
https://fxdreema.com/shared/1g7RfHQ4c -
RE: Grid + Hedge problemposted in Questions & Answers
never mind. I think I will go for this approach . Instead of make it open sell order. I just create a sell pending order in grid indead. easy not too complicated with the block



-
RE: Grid + Hedge problemposted in Questions & Answers
@l-andorrĂ please look at the illustration above. thanks
-
RE: Grid + Hedge problemposted in Questions & Answers
Here is my illustrations of the concept. Hope you can understand the logic
.
-
RE: Grid + Hedge problemposted in Questions & Answers
At the fiveth buy trade .Robot will open a sell trade and when price going down the bot will continue open a sell trade
-
Grid + Hedge problemposted in Questions & Answers
Hi, Iam currently testing on Grid and Hedge function.
I manage to do a grid with these block . when price goes down it will open buy trade . if price goes up it will open sell trade. its follow grid distance i set. no problem at all


The problem start when I want to hedge the position by using 'check trade' block . What I want to do is. When there is a total 5 buy trade. EA will open sell trade.
When there a sell trade, I TURN OFF buy block. then if Price goes down more, I want sell trade to be open accordingly to the grid distance I set.
But in result,I got a lot sell trade open up and down near the first sell trade. Its not follow the grid distance I set. look at the image below.


Please help me identify the problem. Here is the project link. Thanks in advance
-
Help with Candle ID.posted in Questions & Answers
Hi, need help from experts.
I got two conditions indicators to make entry
SELL entry
first rule is candle must close above the red line @ buffer 3
second rule is rsi must in above 80 overbought limit. red arrow at the top
then EA make sell entrymy problem in backtest. when rsi in above 80 overbought limit. EA make entry at 2 red arrows below the red line . EA ignore the first rule,
how to make sure the first rule is met. then second rule met. entry happen. its about candle id I think
how to make the EA check condition the previous candle is above red line. and current candle is in rsi 80 overbought limit. entry happen
please help. thanks

-
calculate and display total lotposted in Questions & Answers
Hi , how to display total lot trade around here. I know it can be done by using comment block . but how to make it happen. please share a link from previous post if any or show me a simple way to do it . thanks
