Signal Repeating

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Signal Repeating

Postby myer16 » Sat May 23, 2020 2:35 pm

I have this MT4 indicator which is giving repeated signal in a single direction whenever the same condition meets again and again(pic attached)
Stoc1.png

It should check last signal before and not give repeat signal if the signal is same as last signal

eg condition to be implemented.
For Long Entry Signal & Alert
{if last signal is not equal to Long Entry or Short Entry} -- && -- {last signal is equal to Long Exit or Short Exit} -- && -- {long entry condition is true}

For Long Exit Signal & Alert
{if Last signal is not equal to Long Exit -- && -- if Last signal is equal to Long Entry}-- && (Long Exit condition is true) }

Similarly for Short Entry & Short Exit
Stoc.mq4
(5.59 KiB) Downloaded 242 times
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Re: Signal Repeating

Postby myer16 » Sun May 24, 2020 12:47 pm

I have 4 arrow buffers in this indicator attached above in the post

1. Green Arrow Up for Long Entry
2. Pink Arrow down for Long Exit
3. Red Arrow down for Short Entry
4. Aqua Arrow Up for Short Exit

For Long Entry Arrow & Alert
{if last Arrow is not Long Entry or Short Entry} -- && -- {last Arrow is Long Exit or Short Exit} -- && -- {(Stocastic Base line crosses aboove Stocastic Signal Line) && (Stocastic Base line is below 20)}

For Long Exit Arrow & Alert
{if Last Arrow is not Long Exit -- && -- if Last Arrow is Long Entry}-- && -- (Stocastic Base line crosses above 80) }

For Short Entry Arrow & Alert
{if last Arrow is not Long Entry or Short Entry} -- && -- {last Arrow is Long Exit or Short Exit} -- && -- {(Stocastic Base line crosses below Stocastic Signal Line) && (Stocastic Base line is above 80)}

For Short Exit Arrow & Alert
{if Last Arrow is not Short Exit -- && -- if Last Arrow is Short Entry}-- && -- (Stocastic Base line crosses below 20) }
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Re: Signal Repeating

Postby Apprentice » Mon May 25, 2020 5:53 am

Your request is added to the development list.
Development reference 1346.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Signal Repeating

Postby Apprentice » Mon Jun 01, 2020 6:16 am

Stoc.mq4
(15.93 KiB) Downloaded 225 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Signal Repeating

Postby myer16 » Thu Jun 11, 2020 9:52 am

Awesome, Thanks a lot dear, God Bless You

Taking this as a base indicator can you develop 2 different versions as stated below:
1. stoc-time.mq4
2. stoc-p-l.mq4

please put them in seperate development number making seperate files
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Re: Signal Repeating

Postby Apprentice » Fri Jun 12, 2020 3:22 am

1. stoc-time.mq4
and
2. stoc-p-l.mq4
are based on above indicators?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Signal Repeating

Postby myer16 » Fri Jun 12, 2020 3:53 am

Yes these will be based on the above indicator stoc.mq4 developed by your team. Just need some improvements.

1. Stoc-time.mq4
-----------------

Option to set time management to true or false from input Tab
Input variables Time A, Time B and time C in hours:minutes:seconds

if (time management is false - the system continues to gives signals 24/7 as per trade conditons described earlier in base version of indicator

if time management is selected to true addition filter of time:

Long Entry - existing Long entry condition && Time between Time A & time B

Long Exit - (existing Long Exit condtion && Time between Time A & Time C) or (Time = Time C)

Short Entry - existing Short Emtry conditon && Time between Time A & Time B

Short Exit - (existing Short Exit condition && Time between Time A & Time C) or (Time = Time C)

Basically the system places entry of trades between Time A & Time B and exits the trade on either exit conditions are met or when Time reaches Time C(closing time of daily trading session)

Thanks

I will post the conditions for the stoc-p-l.mq4 in a moment
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Re: Signal Repeating

Postby myer16 » Sat Jun 13, 2020 2:44 pm

2. Stoc-p-l.mq4
---------------

A few set of infromation which i need to be displayed on the screen of Indicator. I have attached screenshots of some MT4 indicators which dispalyed these informations on the screen,

Taking stoc-time.mq4 as the base version

Option to set P/L management true or false from Input Options

If set to false no information is displayed and the system runs as defined in base version.

If set to true: Display the following information on chart:

Input- Signal Info : True/False
if True : On top of Long Entry/Short Entry Signals a string in white color says the signal "Long/Short @" "signal Price". On Long Exit/Short Exit signals - string of 2 lines- "Long Exit/Short Exit @ " - "Signal Price" Next lne "Profit/Loss - "Value",
Value is Calculated from Long Entry signal to Long Exit signal and Short Entry Signal to Short Exit Signal and is displayed as a String on top of the Long Exit/Short Exit in Green color if it is a Profit and in Red color with negative Sign if it is a Loss and in White color if value is zero.

(example pic of MT4 indicator attached)
p-l5.png


Input- Remaining Time of Candle: true/false
if true display Remaing Time of completion of currebt candle along the candle(pic attached)
p-l4.png


Input- Show Dashboard : "true/false"
if true Displays a Box in Upper Left Side of Chart having the following information in 7 Rows- having 2 in a Row(example pics of some MT4 indicators attached)
p-l1.png


1. Last Traded Price : Last Traded Price of the instrument recieved from server which changes with every tick.

2. Signal Trend: Long/Short/No Trade
Long if last signal was Long Entry(shown in Green)
Short if last signal was Short Entry(shown in Red)
No Trade if last signal was Long Exit/Short Exit(shown in White)

3. Signal Price: Price of Signal at Long/Short Entry
Shown in Green if last signal was Long Entry
Shown in Red if last signal was Short Entry

4. Signal Time : hh:mm:ss
Calculated from the number of bars since Long/Short Entry Signal till the current candle and adding the elapsed time of current candle calculated by substracting remaining time of candle from the Timeframe of candle.

5. Current P/L : Value(Current Profit/Loss in points)
Displayed if Last Signal is Long Entry/Short Entry
and is calculated from the Long/Short Entry till the current price(Last Traded Price) of chart(shown in Green if Profit, Red with negative sign if loss and white when zero)

Below informations are calculated for all the previous signals in the Chart from the data available in backfill
(Long Entry Signal & its corresponging Long Exit Signal combined are counted as 1 Trade, similarly Short Entry Signal & its corresponding Short Exit Signal combined are considered as 1 Trade)
p-l2.png

6. Total Trades : Total Number of Trades

7. Profit Trades : Total Number of Profit Trades

8. Loss Trades : Total Number of Loss Trades

9. Gross Profit : Gross Total of all Profit Trades(in Points)

10. Gross Loss: Gross Total of all Loss Trades(in Points)

11. Net Profit/Loss : Net Value of Gross Profit - Gross Loss
shown in Green if Value is Profit
shown in Red with negative sign if Value is Loss
shown in White if value is Zero

12. Profit Factor : Gross Profit divided by Gross Loss

13. Expectancy : Net Profit/Loss of all Trades divided by Total Number of Trades.

14. Accuracy : Profit Trades divided by Total Trades multiplied by 100
p-l3.png
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Re: Signal Repeating

Postby Apprentice » Sun Jun 14, 2020 7:40 pm

Your request is added to the development list.
Development reference 1486.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Signal Repeating

Postby myer16 » Mon Jun 15, 2020 3:26 am

Please develop both files separately
Stoc-time.mq4
&
Stoc-p-l.mq4
I have specified conditions for both separately while stoc-time.mq4 will be used as base version for stoc-p-l.mq4
myer16
 
Posts: 19
Joined: Fri Apr 17, 2020 2:54 am

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 13 guests