Two MA cloud

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Two MA cloud

Postby jamrocktrader » Mon Aug 17, 2015 2:04 pm

Hey apprentice,
Could you please make an alert that gives an alarm on the open of the candle after the moving average cross.
This is the main indicator I use in my trading and it would help a lot if I don’t have to constantly watch the chart for a cross.

Thank you very much
jamrocktrader
 
Posts: 19
Joined: Mon Jul 06, 2015 10:05 pm

Re: Two MA cloud

Postby Apprentice » Wed Aug 19, 2015 3:07 am

Have you try 2MA cloud Strategy.lua
Set "Allow strategy to trade" to NO.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cloud

Postby jamrocktrader » Wed Aug 19, 2015 7:21 am

I have spent a good amount of time with no success trying to get the 2MA cloud Strategy to give an alarm when the 2MA cloud indicator crosses. The alarm consistently occurs several candles before or after the cross, and I sometimes get an alert when there is a good distance between the MA.
jamrocktrader
 
Posts: 19
Joined: Mon Jul 06, 2015 10:05 pm

Re: Two MA cloud

Postby Apprentice » Wed Aug 26, 2015 9:16 am

In that strategy we have to Execution Types
End of turn
Will wait candle end for trade opportunity.

Live
Will enter the trade immediately after condition is met.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cloud

Postby jamrocktrader » Mon Aug 31, 2015 9:43 pm

From the attachment you can see that the 2 MA Cloud Strategy does not correspond with the 2 MA Cloud Indicator. They both have the same parameters but when the chart falls below the MA the strategy gives a sell signal before the cross and exits the trade several candles after the indicator gives a buy signal. So the main problem is that the Strategy deviates greatly from the indicator.

On the other hand the Two MA Cross Alert executes at the end of turn every time the MA crosses. If you could adjust the Two MA Cloud Strategy to work similar the Two MA Cross Alert that would be amazing.
Thank You
Attachments
Pic.png
jamrocktrader
 
Posts: 19
Joined: Mon Jul 06, 2015 10:05 pm

Re: Two MA cloud

Postby Apprentice » Tue Sep 01, 2015 4:24 am

Can provide the strategy link.
This is expected behavior if the End of Turn execution is used.
Use Live execution if available.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cloud

Postby Loredana Sorci » Sun Sep 11, 2016 10:45 am

In the attachment you will find an example of use of 2MA_Cloud.
It would seem that the second MA is always moved by several points, with the result that the Zone/Cloud appears much larger than it should. (Of course I have several different examples to show...)
2.JPG

As can be seen by comparing the Legend (top left): varying the couple of MAs the first match the identical MA selected "individually" from the menu "Add Indicator" ... - while the second is always abundantly offset.
Could you be kind enough to check this discrepancy?
Loredana Sorci
 
Posts: 1
Joined: Sun Sep 11, 2016 10:17 am

Re: Two MA cloud

Postby Apprentice » Mon Sep 12, 2016 6:32 am

While Two MA cloud Formulas is
MA1 = MA(Price),
MA2 = MA(MA1).

You are using

MA1 = MA(Price),
MA2 = MA(Price).
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cloud

Postby Apprentice » Tue Sep 04, 2018 10:03 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cloud

Postby SavvyStrategist » Sat Oct 13, 2018 3:04 pm

Would it be possible to have an alert added on the indicator script and not as a strategy? I'm using the 2MA Cloud on an indicator instead of price.
SavvyStrategist
 
Posts: 30
Joined: Mon May 04, 2015 6:55 pm

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 30 guests