Re: Coding Help

#851
When I use the iCustom function do I HAVE to include all the parameters of the custom indicators or can I just use the indicator and what I really need to change?


Also Mntiwana I can’t find the files for tma centred bands with atr multipliers. Can you please post them here :)


Re: Coding Help

#852
Fahim wrote:
Mon Oct 15, 2018 10:39 pm
Fahim wrote:
Mon Oct 15, 2018 7:48 pm






mntiwana how do i make a code which detects an arrow on the current candle?
Sorry,i did not get your asking/question - honestly i am zero in coding matters - :)
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.

Re: Coding Help

#853
Fahim wrote:
Mon Oct 15, 2018 11:43 pm
When I use the iCustom function do I HAVE to include all the parameters of the custom indicators or can I just use the indicator and what I really need to change?


Also Mntiwana I can’t find the files for tma centred bands with atr multipliers. Can you please post them here :)
Here is "TriangularMA centered Multiple bands" - ATR version
4 bands but no center line,you can tune any pair (band) to center any way as you have enough pairs
interpolated mtf-alerts
variety of alerting options
GBPUSDM30.png
p.png
TriangularMA centered Multiple bands.mq4
(13.98 KiB) Downloaded 552 times
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.

Re: Coding Help

#854
mntiwana wrote:
Tue Oct 16, 2018 3:17 am
Fahim wrote:
Mon Oct 15, 2018 11:43 pm
When I use the iCustom function do I HAVE to include all the parameters of the custom indicators or can I just use the indicator and what I really need to change?


Also Mntiwana I can’t find the files for tma centred bands with atr multipliers. Can you please post them here :)
Here is "TriangularMA centered Multiple bands" - ATR version
4 bands but no center line,you can tune any pair (band) to center any way as you have enough pairs
interpolated mtf-alerts
variety of alerting options



Do you have the tma with atr multiplier? i really need that one, id love it if you posted that one for me :))

Re: Coding Help

#855
Fahim wrote:
Tue Oct 16, 2018 5:24 am
mntiwana wrote:
Tue Oct 16, 2018 3:17 am


Here is "TriangularMA centered Multiple bands" - ATR version
4 bands but no center line,you can tune any pair (band) to center any way as you have enough pairs
interpolated mtf-alerts
variety of alerting options



Do you have the tma with atr multiplier? i really need that one, id love it if you posted that one for me :))
Here you go - Mrtools tweaked version
Usual 7 prices - interpolated mtf and alerts including alert on current,on highlow true/false
GBPUSDM30.png
p.png
TriangularMA centered bands - mtf & alerts_v1.mq4
(10.8 KiB) Downloaded 471 times
TriangularMA centered bands - mtf & alerts_v1.ex4
(33.68 KiB) Downloaded 422 times
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.


Re: Coding Help

#856
mntiwana wrote:
Tue Oct 16, 2018 5:43 am
Fahim wrote:
Tue Oct 16, 2018 5:24 am





Do you have the tma with atr multiplier? i really need that one, id love it if you posted that one for me :))
Here you go - Mrtools tweaked version
Usual 7 prices - interpolated mtf and alerts including alert on current,on highlow true/false


thanks this is the right one i want but its not showing on my chart... did you post the correct version of it? it might be corrupted. if you could help that would be awesome, youre the best :)

Re: Coding Help

#857
Fahim wrote:
Tue Oct 16, 2018 5:55 am
mntiwana wrote:
Tue Oct 16, 2018 5:43 am


Here you go - Mrtools tweaked version
Usual 7 prices - interpolated mtf and alerts including alert on current,on highlow true/false


thanks this is the right one i want but its not showing on my chart... did you post the correct version of it? it might be corrupted. if you could help that would be awesome, youre the best :)
You are right,that having 1090 bug problem,corrected and posted at in topic post,re-download it please,sorry for inconvenience
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.

Re: Coding Help

#858
mntiwana wrote:
Tue Oct 16, 2018 6:26 am
Fahim wrote:
Tue Oct 16, 2018 5:55 am




thanks this is the right one i want but its not showing on my chart... did you post the correct version of it? it might be corrupted. if you could help that would be awesome, youre the best :)
You are right,that having 1090 bug problem,corrected and posted at in topic post,re-download it please,sorry for inconvenience

thanks again. i need a code snippet which closes the trades at take profit or stop loss, can you help?

Re: Coding Help

#859
Need coding help for simple martingale EA. I tried to code it but I'm stuck. Anyone can lend a helping hand?

I need help with:
1. opening 20 martingale orders at this price:

Code: Select all

extern double entry_order1=1.31999;
extern double entry_order2=1.31989;
extern double entry_order3=1.31979;
extern double entry_order4=1.31969;
extern double entry_order5=1.31959;
extern double entry_order6=1.31949;
extern double entry_order7=1.31939;
extern double entry_order8=1.31929;
extern double entry_order9=1.31919;
extern double entry_order10=1.31909;
extern double entry_order11=1.31899;
extern double entry_order12=1.31799;
extern double entry_order13=1.31599;
extern double entry_order14=1.31499;
extern double entry_order15=1.31399;
extern double entry_order16=1.31299;
extern double entry_order17=1.31199;
extern double entry_order18=1.30399;
extern double entry_order19=1.30299;
extern double entry_order20=1.30199;
2. opening 20 martingale orders each [10] pips

Code: Select all

extern double level_pips=10;
3. First order is buy, if (current price>Moving Average) else sell

4. Steps:
Entry:
1. EA should open 1 pending LIMIT buy (on price: entry_order1) and open 1 pending LIMIT sell order (on price: entry_order2).
2. If buy or sell order is filled, delete the other pending order. |
3. If SL is hit, then again, set 2 pending orders with double lotsize
4. if filled again, delete the other pending order etc

Exit:
5. close all orders if TP is hit. Reset lotsize back to 0.01 lotsize.
super simple martingale 1.00.mq4
(41.92 KiB) Downloaded 645 times


  1. Similar Topics

    1. iMAonArray - Coding help

      0 Replies 1016 Views

      by rogerha, Fri Oct 15, 2021 2:21 am in Coding Help

      0 Replies
      1016 Views
    2. 4 Replies
      910 Views
    3. Little coding help please!.... Cycle Bar indicator

      3 Replies 590 Views

      by codeCollector, Sun May 08, 2022 5:21 am in Coding Help

      3 Replies
      590 Views

Return to “Coding Help”

Users viewing this forum: CommonCrawl [Bot] and 1 guest