@l-andorrà Thanks, I see that you have a variable as, 'open_price'... What value do I give it in the settings? '0' ? I've never used the variables section kind of intimates me. lol Thanks for your help
Posts made by nwvw28
-
RE: Resubmit pending order when SL is triggered.posted in Questions & Answers
-
Resubmit pending order when SL is triggered.posted in Questions & Answers
Something I am having a hard time figuring out how to do is: I have a Buy or Sell Stop triggered then lets say if my SL is hit (which is a tight SL) I'd like for that Buy Stop or Sell Stop to re-post at that Original price. Some might say well if the the conditions are me to place that Buy Stop or Sell Stop then the Pending order will be placed, and I would say, well of course. But in my case the pending order could have been place based on a condition that was met minutes or hours ago. What I am saying if when that pending order is triggered then my SL hits I'd like for that pending order to resubmit at the time my SL was triggered. I know this is possible to do. Can someone please help me?
-
RE: Multiply lots by 'X' when my balance increases by 'X $' ?posted in Questions & Answers
@l-andorrà Ok, I can see you aren't going to help any further. That's fine.
-
RE: Multiply lots by 'X' when my balance increases by 'X $' ?posted in Questions & Answers
@l-andorrà I'm not having any success. Any chance you could provide a screen grab of what it should look like? I have been on this issue for months now. The most common sense approaches do not seem to work. I don't know what I am missing. I'd appreciate more help. Thanks
-
RE: Multiply lots by 'X' when my balance increases by 'X $' ?posted in Questions & Answers
@l-andorrà Hi and thank you for your help with this issue. This is what I tried based on what you said. I can't get it to work, what do you think? My goal is to Multiply my lots by 'X' every time my account balance grows by 'X$' amount. It seems as though it would need to store the last multiplied balance and Risk value to determine whether or not it needs to multiply the Risk by 'X' or not.

-
Multiply lots by 'X' when my balance increases by 'X $' ?posted in Questions & Answers
How can I build in FXDreema so that when the account balance grows by 'X $ amount' to then multiply the lots by 'X' amount?
-
RE: US30/DOW Jones spread/Pip confusionposted in Questions & Answers
@jstap I did this and I get 197 points. Where the question is does that convert to 19.7 pips or 1.97 pips. I need to know what to set my Point rule to as this affects drastically how well my bot does. I rely on what this spread says on the chart during my Strategy tester. Should it display 1.97 or 19.7?
or
. Should I set my Rule to US30 = 0.10 or to 1.0? Thanks for your help. -
RE: US30/DOW Jones spread/Pip confusionposted in Questions & Answers
@jstap Drag my crosshair where?
-
US30/DOW Jones spread/Pip confusionposted in Questions & Answers
Hey guys the points to pips stuff is really confusing me. My US30 chart says the spread is 197 points, does this translate to 19.7 pips? or is it 1.97 pips? When I run my strategy tester and select the spread to 'current' on visual mode my spread display says 2.00. Does anyone know EXACTLY how to figure out my spread in pips? I'm hoping my spread is 2 pips not the 19.7 pips. My trading bot does fantastic at 2 pips but complete trash at 20 pips.
-
RE: Help please. Double lots every time account grows by...posted in Questions & Answers
@TipsyWisdom I think for now I'll keep it as multiply lots by 'X' if account balance increases by 'X', this just makes more sense to me at the moment. Thanks for pointing out the Orange block in the adjust is not good. So far everything I have tried has not worked, but I'll keep at it. I may continue to ask questions if that's okay.
-
RE: Help please. Double lots every time account grows by...posted in Questions & Answers
@TipsyWisdom Thanks for your response... Here's what I have built based on how I interpreted what you described. How far off am I? Also see the Chat GPT comment I made below.

-
RE: Help please. Double lots every time account grows by...posted in Questions & Answers
Chat GPT gives me this information when I asked how to increase lots by X when account balance increases by X amount... Question is how do I create a node 'code' via FXdreema. I've managed to build various bots and I am getting better with using this tool but I have never attempted something like this... How would you accomplish this using FXDreema?
// Define the initial account balance and lot size
double initialBalance = AccountBalance();
double initialLotSize = 0.01; // Modify this value to your desired starting lot size// Define the balance increment threshold
double balanceIncrement = 3000.0;//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
void OnTick()
{
double currentBalance = AccountBalance();// Check if the balance increased by the threshold amount if (currentBalance >= initialBalance + balanceIncrement) { int lotDigits = MarketInfo(Symbol(), MODE_DIGITS); double currentLotSize = NormalizeDouble(initialLotSize * 2.0, lotDigits); // Modify the lot size with the increased value OrderModify(OrderTicket(), OrderOpenPrice(), currentLotSize, OrderTakeProfit(), 0, clrNONE); // Update the initial balance to the current balance initialBalance = currentBalance; Print("Lot size increased to ", currentLotSize); }}
-
Help please. Double lots every time account grows by...posted in Questions & Answers
Does anyone know how to do this: I need Every time my account balance increases by 'X' amount then multiply the lots by an 'X' amount.
Thank you for your help. @l-andorrà if you can help I'd greatly appreciate it. -
RE: How to get ATR multiple as an adjustable input filed?posted in Questions & Answers
@l-andorrà Thank you that is what I needed to do to get it to work.
-
RE: How to get ATR multiple as an adjustable input filed?posted in Questions & Answers
@Castlemaine Thank for your response. I tried doing exactly what you have here and I still get the same 'Illegal operation use' errors. I'm pretty sure I matched exactly what you have here. Does it work for you when you try to compile to .ex4? Try that and see if you don't get any errors.
