@l-andorrà but my SL is ATR * ATR_MULT?
Posts made by pipsondeck
-
RE: Check Max Stop Loss distance before placing a tradeposted in Questions & Answers
-
Check Max Stop Loss distance before placing a tradeposted in Questions & Answers
Im using ATR as stop loss and
I set a condition of maxstoploss = 20 pips.how can i make a condition that if the distance between between the entry price and maxstoploss price < 20 pips, it will open a trade.
im stuck in this condition.

-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
@jstap so it will only save up to 4 closed trades? would it be possible to make it unlimited?
-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
@jstap I tried to recreate what you said but i cant still store the profits:
Hope you can check. thanks.
-
Multi Currency - Close all tradesposted in Questions & Answers
I just want to confirm if my logic is correct.
If all pairs has accumulated +200 pips = close all trades
if all pairs has accumulated -100 pips = close all tradesThank you.

-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
@jstap said in Store Profit whenever there is position // if no more position, profit resets to 0:
more difficult, but simply tee off the pink with saving the information for each running trade
Apologies for this, but what do you mean by tee off the pink?
-
RE: Enter Pending Order at 70% of Candle 0-Candle1 rangeposted in Questions & Answers
Hello,
attached chart is from 1H time frame
Previous day + current day High and low
70% of it will be the pending buy limit
So if current day is still higher, then it will calculate the most recent high.
Thank you.
-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
@jstap but that will only store the last position profit right? What if i closed 5 buys and 3 sells all in profit? I want to separately store them
-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
@jstap i want to profit to be stored WHENEVER there is still position. when all positions are closed either buy/sell. The stored profit resets back to 0
-
RE: Enter Pending Order at 70% of Candle 0-Candle1 rangeposted in Questions & Answers
Hope someone can give idea
-
RE: Enter Pending Order at 70% of Candle 0-Candle1 rangeposted in Questions & Answers
Maybe someone has idea on this?
-
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
This is what i came up with:
But it did not store any closed position profit. -
RE: Store Profit whenever there is position // if no more position, profit resets to 0posted in Questions & Answers
Any idea please?
Its like i am hedging and earning profits from buy and sellCheck position > 1
Check closed trades
Buy profit = store in variableChexk position = 0
Buy and sell profit = 0 -
RE: Enter Pending Order at 70% of Candle 0-Candle1 rangeposted in Questions & Answers
@l-andorrà that is not what i really want and i did not know about that.
I want it to be the latest tidk whenever there is a new low created on candle 0 thenn a new 70% would be calculated.
-
RE: Close Last and Newest tradeposted in Questions & Answers
@jstap what do you mean by it has no way of creating more than 1 position?
can the sell profit be compensated and closes the buy position also if the profit is > $4?
-
RE: working on object name and execute tradesposted in Questions & Answers
@jstap that should be 40 variables if I want to store each, right?
-
Enter Pending Order at 70% of Candle 0-Candle1 rangeposted in Questions & Answers
Hello, i am working on a project and i seem to get the price correctly. But my problem is this:
- I want the new low to be calculated if a new low is created based on the recent candle.
- Pending limit should open on the custom price but the problem is it opens a sell position right away.
Here is my project. Thanks.
https://fxdreema.com/shared/Z0qSbUD2 -
RE: working on object name and execute tradesposted in Questions & Answers
@jstap by the way, is there a way I can store the previous scores? Lets say I want to store and save the score every 6 hours and put in comment for the past 10 days?
-
RE: working on object name and execute tradesposted in Questions & Answers
@jstap i was able to make it work using this:
StringToDouble(ObjectGetString(0, "LBL_3210", OBJPROP_TEXT)) > scoreThresholdthank you.