@reader1 Because I turned pips the price level (useless), so below is better so that you do not have problems with YEN pairs 

I've not tested
@reader1 Because I turned pips the price level (useless), so below is better so that you do not have problems with YEN pairs 

I've not tested
@cpxiom said in Use EA to attach and indicator to a chart:
@mole Hi, this is from an old post named apply template. https://fxdreema.com/forum/topic/3658/apply-template/9
The solution is from fxDreema. https://fxdreema.com/shared/EooHSxoKb
Also, as it writes here https://fxdreema.com/forum/topic/5361/how-to-apply-template, put .tpl in the name field also.Or you could do a custom mql block, and paste this into it. ChartApplyTemplate(currChart,"SomeTemplate.tpl");
Hope it works
and thanks a lot to @CPxiom
maybe it's too broad in content, but may be useful
https://fxdreema.com/forum/topic/7722/how-to-stop-other-all-expert-advisor-by-my-expert-advisor
@rafaels919 what do you think of putting an object line on the chart (like the first order) and observing the price? if the price comes against us we lost once and so on...
Condition TRUE == draw line 1 and so on..
At the fourth line open your trade
I misunderstood?
@rafaels919 suppose your loss is 50 pips per trade

this is the case of pending order

this is the case if you want to draw a line

@luisjunior1224 Please, check your profile .... who are you? .... and what do you want from this forum?
Until yesterday you are not able to do 2 + 2=4 and now you present yourself with a project of n+n blocks?????
Who are you?????
@trader-philipps @l-andorrร hi, in that post there are my basis project, I attach them below, the file .ex4 works, the. mq4 file has two errors, probably in the meantime there have been some updates and it no longer compiles
0_1577746373504_1535097327522-my_news_filter.ex4
0_1577746383813_1535097334008-my_news_filter.mq4
if you open the mq4 file you can see where to copy the code of the indicator
And this is the project from where to start
https://fxdreema.com/shared/161Bg5qQd
It will probably give the same errors
Thank you so much to @Traderz for doing this wonderful job
I see we're in good company.!!!!

@errinjm Import the file .ex4 in "my indicators" instead of the .mq4 file and fill in the fields as the picture above. I tried and it works
@trader-philipps Yes it is clear, thank you very much again
@l-andorrร Initial purchase lot = 0.1 at price 1.1200 lot to close = 0.02 every 10 pips gain
First close at the price of 1.1210 I close 0.02 lots and the initial lot becomes 0.08 (0.1-0.02= 0.08 at the same entry level 1.1200)
Second closure at the price of 1.1220 I close 0.02 lots and the initial lot becomes 0.06 (0.08-0.02= 0.06 at the same entry level 1.1200
Third closure at the price of 1.1230 I close 0.02 lots and the initial lot becomes 0.04 (0.06-0.02= 0.04 at the same entry level 1.1200)
and so on...
@michaemia Hi, in the block "if trade" specify group "manually" (i have not tried)
@tanjiayi1 It is correct to put the spread filter at the top of the path of opening trades
@moon you cannot do this with fxdreema, so i suggest you a custom indicator.
Now i'll go to search somethings