• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Question EA Dollars

Altan

Member
Credit Hunter
Credits
0
Dear coder could you help me make ea ?

-dollar pile using only filter, (buy -sell)
-stoploss,time filter,trailing stop these are importants
-arrow when coming (not close bar) ea will open position with trailing
that is all,thanks for your helps...
Regards.

f7kfCQ.png
 

Attachments

Last edited:
Yes.....and why wasting 2 letter? Just E .....or A....that would be could....:rofl:
My next posting would be B or C.....or one of the other letters.....:clap:
 
The EMA indicator calculates values into the futures:
fasterEMAnow = iMA(NULL, 0, FasterEMA, 0, MODE_EMA, PRICE_CLOSE, i);
fasterEMAprevious = iMA(NULL, 0, FasterEMA, 0, MODE_EMA, PRICE_CLOSE, i+1);
fasterEMAafter = iMA(NULL, 0, FasterEMA, 0, MODE_EMA, PRICE_CLOSE, i-1);
The i-1 means that it takes the value of the candle ONE bar in the future....so it is definitiv a repainter.....
So I changed it that there is NO looking into the future:
 

Attachments

Coded....
I cant decide wether to call it X or Y...so I called it XY....short as everything here...also the "shorts" of my coding team members:
 
Dont forget to set sl, tp!
Optional trailing and change settings

The MA crossing is fixed when the candle is closed...so optimizing can be done quick with closing candles...
I m waiting here for the set files for distinct TFs!
 

Attachments

Back
Top