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
Do not show pity: life for life, eye for eye, tooth for tooth, hand for hand, and foot for foot.
Deuteronomy 19:21

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
Myfxbook live trading results 📊

List of our most powerful reversal indicators + Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions + How to draw Support & Resistance