DownloadCoding help for creating signal line for Up_and_Down indicator

1
Have a look first at the attached image. I want to create on the same window a signal line. Specifically the blue line is the signal line which i attached as MA20 , simple , previous indicator.

Code: Select all

It works for me  double UpandDown_slow =  iCustom(_Symbol,_Period,"Up_and_Down",period+18,Arrow,ArrowSize,SIGNAL_BAR,clArrowBuy,clArrowSell,0,4);
I used the forth candle but is possible to work with the 3rd too.

I use as simple conditions :

if(  UpandDown_slow>0.8
     


                         && DontTrade==false && OrdersTotal()<1 ) { //test3_fast<test3 && SMA1>UBB && Mom30<100
                         // Create a sell signal
                         signal = "sell"; 
                         double SELL_TP = Bid-TP_IN_PIPS*_Point;
                         double SELL_SL = Ask+TP_IN_PIPS*_Point;
                         
                         }
These users thanked the author Lionheart for the post:
Chickenspicy


DislikeRe: Coding help for creating signal line for Up_and_Down indicator

3
Lionheart wrote: Mon Sep 05, 2022 7:29 pm Have a look first at the attached image. I want to create on the same window a signal line. Specifically the blue line is the signal line which i attached as MA20 , simple , previous indicator.

These users thanked the author moey_dw for the post (total 2):
Chickenspicy, wojtek
Official Forex-station GIF animator at your service 👨‍⚖️
See a GIF with Forex-station.com on it? I probably made it
The best divergence indicator in the world.
Real news exists: Infowars.com 👈


Re: Coding help for creating signal line for Up_and_Down indicator

6
Ricorapier wrote: Sat Sep 24, 2022 5:36 pm Hi everyone in the group,
Please, I need an alarm on this indicator perfect trend line indicator.
Check the picture below...
Please don't send the same message over and over, be patient
These users thanked the author Jedidiah for the post (total 3):
Jimmy, Chickenspicy, moey_dw
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

DislikeRe: Coding help for creating signal line for Up_and_Down indicator

7
Ricorapier wrote: Sat Sep 24, 2022 5:36 pm Hi everyone in the group
honje19960321 wrote: Sat Sep 24, 2022 5:39 pm Please don't send the same message over and over, be patient
Thanks to Honje and our members who reported this out of nowhere, random user, who decided to guerilla-spam the shit out of our forum with rude requests 😒

Imagine waking up to that on a Saturday morning.

Adios amigo 👋
These users thanked the author Jimmy for the post (total 3):
Jedidiah, Chickenspicy, moey_dw
Are you looking for a Forex broker? FBS cuts spreads by up to 58%. Click here to begin your trading journey, today.
No commissions are earned by Forex-station.


Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance


Who is online

Users browsing this forum: No registered users and 17 guests