DAILY TARGET
-
@l-andorrà PLEASE HELP ME BUILD THIS MONEY MANAGEMENT!
INITIAL LOT SIZE 0.1
ON LOSS IT WILL GO BACK TO 0.01 FIXED
ON PROFIT IT WILL GO TO 0.1 FIXED.
JUST BACK AND FORTH ON 0.1 AND 0.01.
THANK YOU SIR!. -
@kestra You will need a boolen variable and then use this structure on the 'on trade' tab (just for buys):

You will have to duplicate it for sells. That variable will be the one you will insert into both buy/sell now. blocks.
-
@l-andorrà THANKS!.
-
@kestra You're welcome.
-
@l-andorrà OK SIR!.
-
@l-andorrà I WANT MY TRADES TO BE CLOSED PARTIALLY AT CERTAIN LEVELS, BUT I DISCOVERED THE LEVELS OR PIPS ARE NOT FIXED JUST AS THE TAKE PROFIT IS FIXED. IN THE SENSE THAT, THE LINE IS NOT DRAWN JUST AS THE TAKE PROFIT LINE IS DRAWN AND SPILLAGE WILL AFFECT IT. PLS HOW CAN I MAKE IT EXACTLY OR FIXED AT THE LEVELS OR THE PIPS.
-
@kestra Well, it depends on how those levels are calculated. How are they?
-
@l-andorrà THANK YOU!. DO YOU MEAN, CLOSE TRADE PARTIALLY LINES COULD BE DRAWN AND FIXED FROM THE ONSET JUST AS TAKE PROFIT LINE AND STOP LOSS LINE IS DRAWN AND FIXED ? OK!
AFTER, EACH! 12% ,40% AND 70% OF THE TAKE PROFIT HAS BEEN MOVED AWAY FROM THE OPEN PRICE I WANT IT TO CLOSE 1/3 OF THE INITIAL LOT SIZE FOR EACH OF THOSE PERCENTAGES!. SO AFTER 12% MOVED CLOSE 1/3 OF THE INITIAL LOT.THAT APPLIES TO OTHER PERCENTAGES. THANK YOU SIR!. -
@kestra Using lines as TP levels is always messy. Can those levels be calculated mathematically only? That would be relatively easier to implement.
-
@l-andorrà YES ITS MATHEMATICAL, PERCENTAGE OF TP MOVED AND FRACTION OF LOT SIZE CLOSED. I MEANT LINES IN THE SENSE THAT BEING SPECIFIC AS TP IS, JUST LIKE SAYING TP 50 PIPS, I MEANT THAT TP LINE WILL BE SPECIFIC.
-
@kestra Ok. In that case it should not be too difficult. Please confirm this example:
- You have an open buy with 0.3 lots.
- When the trade is in profit and price moved at 12% of total TP distance, a partial close happens so that 0.1 lots are closed and 0.2 lots are left.
- When trade is now at 50% distance of total TP another 0.1 lots are partially closed and the remaining 0.1 lots are still active.
Would that example work?
-
@l-andorrà PLS HELP ME BUILD THIS CONDITION BLOCK.
IF EITHER CANDLE ID 1 OR 3 OR 5 OR 7 OR 9 IS A BULL CANDLE SELL. THANKS!. -
@kestra Can you please share your project?
-
@l-andorrà IT IS A NEW PROJECT, I JUST WANT TO START FROM SCRATCH AND THAT IS HOW ITS LOGIC RUNS. PLEASE HELP ME BUILD IT!.
-
@kestra If this is a new project, please create a new thread for it.
-
@l-andorrà OK, THANKS !.
-
Look, if I set variable _1 as the balace in the night it only should allow trades in the range between - 7% loss and +7% profit and close all trades if it went out of the range. The problem is when I try to backtest it, no trades are executed. If I set conditions with a specified amount like 20000 and 18000 it does work, so there is a problem with the variable. Any ideas?

-
@floko125 Considering that this is a new project, can you please open a new thread for it? Additionally I stronglly recommend you to share the link to the project instead of sharing screenshots. That would help a lot.