Hello, Mr. Tanaka, would it be possible for the EA to make purchases and sales according to arrows, and only when the arrows appear, thank you very muchHere it is.
This is my optimization for Tanaka's DeMark
If you can improve this. . .
Please do and share
Thank you. . .
Let's all make money together![]()
can you please post indicator for this ea?Dear Tanaka plg attach your All New templete please, thank you
can you please post indicator for this ea?
Dear Tanaka can possible attach Use oppsite close profit and Wait for the signal again after the gain has come,Do not order in the same signal.Sorry , I can not apply TrendTF because I need to modify indicator code and it is not easy task.
I added martingale.
I like this idea a LOT.Hello tanaka.. not much to say.. I prepared you a picture.. so it is easier for you to understand
please implement too this function too:
- if a open and close cycle .. closed in lost.. a recovery will be startet .. like double lotsize or with an own multiplicator
if you will implement marntingale too.. that could be switched on and off.. will be cool too
test it with GU m15..
View attachment 145918
So it would look like this but much better.I like this idea a LOT.
Hi Mr Tanaka, could you please make it so that when DeMark EA if a trade closes in a loss, then the lot size can be increased by 0.01 lot. And if the second trade is close in loss (0.02) then add 0.01. for every trade closed in loss then increase by 0.01 lot. Then when the trade finally close in profit stop adding 0.01. The new trade should revert and start again at 0.01. This would be really great for my set file and I will really appreciate your help. It is similar to a martingale but it is very safe. There is a high chance that when there is a winning trade, there are multiple losing trades (small losses) and then by adding 0.01 lot for every losing trade we eventually have a high lot size for the win.
There is also another option, default lot size is 0.02. when the trade close in loss, make new lot size 0.01. when trade is won increase lot size from 0.02 to 0.03. then if won then increase to 0.04 and if lost then decrease to 0.02. there is chance that there could be two consecutive wins in a row.

What do you mean don't order in the same signal ?Dear Tanaka can possible attach Use oppsite close profit and Wait for the signal again after the gain has come,Do not order in the same signal.
Thank you very much
Hello tanaka.. not much to say.. I prepared you a picture.. so it is easier for you to understand
please implement too this function too:
- if a open and close cycle .. closed in lost.. a recovery will be startet .. like double lotsize or with an own multiplicator
if you will implement marntingale too.. that could be switched on and off.. will be cool too
test it with GU m15..
View attachment 145918
I guess I have coded this EA. Can you find old post ?Please write an adviser on the arrow indicator Forex Gump.
Open an order to buy when a blue arrow appears, to sell when a red one appears. When a yellow cross appears, close the deal.
Expert Advisor settings:
Lot=0.01
% of the depot for the lot, (if lot=0)=1
TP=0
SL=0
Close on reverse signal=true(false)
Dear TanakaWhat do you mean don't order in the same signal ?
Maybe you can use Max_order=1.Dear Tanaka
Once the order has been placed, once the profit or trailing we have placed arrives, do not order at the same signal, just wait for the next signal.
and Use oppsite close profit and oppsite close TF.
Note: one idea:- if possible try This : lot size increase automatic( Ex: Equity $100 lot size: .01
increase equity $200 automatic lot size .02 then equity increase $300 automatic lot size .03 this type)
Yes Dear but lot size automatic increase( equity $1000 lot size automatic.10 Then increase equity lot size also increase Without our involvement.Maybe you can use Max_order=1.