Try setting this to 1: 
Posts made by jstap
-
RE: Open new position every 25% towards TP...how?posted in Questions & Answers
-
RE: The issue isnt just your EA, it is also your Broker.posted in General Discussions
There are useless brokers, there are people who want to make money from teaching, rather than trading, and there are profitable traders, nearly every penny you lose goes into someone else's pocket, and the broker makes nearly nothing.
-
RE: Martingaleposted in Questions & Answers
On tick, on init only works at the start of a bot's work, on trade would probably work but on tick will be quicker
-
RE: Will this work ?.posted in Questions & Answers
On trade tab trade created-formula +1to save into variable, trade closed-formula +1 to save into variable, modifiers are the same just seperate trees, something like trade SL moved. Put this into a comment so you can see what's happening
-
RE: in x candle open a tradeposted in Questions & Answers
get the value in a loop, then check before placing a trade: https://fxdreema.com/shared/Qbe0mM4cd
-
RE: Will this work ?.posted in Questions & Answers
This will count every time a trade is placed, I would get this number in a loop, and if you want a count every time something happens, you will need multiple variables added together. I would think this enacts many trades without a no trade block, in which case you would need to conduct the count in a separate tree
-
RE: Is it possible to change the state of many boolean variables using one block?posted in Questions & Answers
modify variables, use more than 1 block if more need to be changed.
-
RE: How to get the account name in Meta Traderposted in Questions & Answers
Pass block-comment block with this name, visually backtest and see what is returned
-
RE: loop MA closeposted in Questions & Answers
Split things so the loop is separate and put the variables in a comment, then check you are getting the correct result, then you can add things back together. It looks like it's nearly there, so a couple of tests will find the problem.
-
RE: Calculation and definition of a straight lineposted in Questions & Answers
This will do it, change candle ID for range flat is relevant over:

-
RE: Calculation and definition of a straight lineposted in Questions & Answers
When I get a minute I will, but it is literally comparing the value of 1 ID to another ID
-
RE: How use counters to stop this EA ?.posted in Questions & Answers
On trade tab, trade created add 1 to a variable, check number stop trading, reset to 0 once per daily bar
-
RE: AWESOME OSCILLATOR with custom level alertsposted in Questions & Answers
Create it here, if AC crosses 0 send an alert, standard blocks will achieve this
-
RE: How to get the account name in Meta Traderposted in Questions & Answers
Not sure because I have never used it, put the name into a comment to see what is returned
-
RE: How to use variablesposted in Questions & Answers
Add a shared link rather than a picture, what are you asking with that?
-
RE: How to use variablesposted in Questions & Answers
In a pink block loop check the last closed trade and the profit, if win pass to normal lot trade block, if loss pass to trade block that is getting the last trade lot and *2. Then a separate tree controlling the close, start a project doing some, then you can add it all together.
-
RE: How to set dropdowns for inputsposted in Questions & Answers
In that field (TM) you can only use one of your enum list values, but you can try to see if it's another but it will return false. By creating an enum list you create an independent type, which is needed to refer to the dropdown list value.
-
RE: How to set dropdowns for inputsposted in Questions & Answers
TM was just my name, you can call it whatever you want. The TM value is how to call your dropdown value.