With custom indicators, you need to check that the used buffer contains a useable value.
Best posts made by jstap
-
RE: EA does not follow conditions set.posted in Questions & Answers
-
RE: EA does not follow conditions set.posted in Questions & Answers
Need your shared link to look at, but it sounds like you need a condition of something like ID3 is bear, Id 2&1 is bull-buy, reverse for sells.
-
RE: ATR for SL and TP, Risk differencesposted in Questions & Answers
Have never used custom price fraction as SL & TP, you may need to use the current price, then +iATR(NULL,0,14,1) or -iATR(NULL,0,14,1)in adjust.
-
RE: ATR for SL and TP, Risk differencesposted in Questions & Answers
ATR is a price fraction, I have never used it like this, if you use what I put above in the adjust field, then it will add or minus the ATR pip value to the current price, candle ID0 close
-
RE: EA does not follow conditions set.posted in Questions & Answers
On every candle draw a red or green line so on backtest you can check if the line colours match up with the indicator
-
RE: show indicatorposted in Questions & Answers
Save a template on your terminal with the same name as your ea
-
RE: Doesnt tradeposted in Questions & Answers
Candle open will never move, candle close on 0 is the current moving price.
-
RE: Condition based on user-input in the EAposted in Questions & Answers
Create the constant
type=bool
name=what you want
value=true/false
right click and add to your condition block -
RE: Zig Zag Indicator - Draw New Line after No Tradeposted in Questions & Answers
Add a shared link to look at
-
RE: how can i make moving lines?posted in Questions & Answers
Put the price in a variable, draw from the variable, in a condition use candle 0 close < or >the value then + or - 5 pips in adjust, under change the variable number to current candle 0 close
-
RE: Draw arrowposted in Questions & Answers
In the block select Wingding, and get the code from that page
-
RE: How I can make background for the comment area?posted in Questions & Answers
What I said was misleading, do what I said but it can be without the one per bar block, if this is redrawn every tick it will still work.
-
RE: how can I set pending orders one after another? wanna try hedghe strategyposted in Questions & Answers
Once per position order needs a for each position above
-
RE: need help grid systemposted in Questions & Answers
Every thing is whatever you want, it says in the blocks what each option does
-
RE: stop the trades if there are 2 consecutive lossesposted in Questions & Answers
In blue blocks, there is a block called check consecutive losses, put a flag under this, check above buy/sell, and reset once per daily bar.
-
RE: show indicatorposted in Questions & Answers
What I do is ctrl x to cut the file, then ctrl v to past and replace the file, this way the name remains the same. And you don't end up with many junk files.
-
RE: Logic questions.posted in Questions & Answers
- You can add as many as you want, just ensure they are only activated when needed.
- Use them when necessary, the logic is basically if "this" happens, do "this".
- Without looking at it, there will be two buffers use the one for the level you need, 0 can be referred to by using the value 0.
- Need more information on what you require, some coding can help, but for the most part, it is already inside blocks.
- You have to explain more, but this works as stated, and if you drag your terminal cross hair between open and TP/SL you will see it matches.
- Once bar happens every X minutes, 1 minute chart it happens once every minute, 1 hour chart it happens once every 60 minutes, referred to as the candle opening. Once per tick happens every tick, which varies between many per second, to a few in an hour.
- You can have as many as you want, separate trees, and tabs and in the same trees and tabs.
-
RE: I AM GETTING FUSTRATED, PLEASE HELP I BEG.posted in Questions & Answers
In blocks you have the manually opened option, use this, test, and then if not working add a shared link and say what isn't working.

-
RE: MQL4 to ctrader converterposted in Questions & Answers
Don't think you can, you would need to find a coder that could rewrite it.