pro system from NICs "scalping index indicator"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #114020 quote
    ullle73
    Participant
    Senior

    Hi Nicolas!

    i saw this thread: https://www.prorealcode.com/prorealtime-indicators/scalping-index-indicator/

    since i dont know french, i cant tell if you made an algo from this indi? If not, could you help me doing so? 🙂

    #114051 quote
    Nicolas
    Keymaster
    Master

    Just replace the DRAWTEXT instructions with ones that can open orders: BUY, SELLSHORT 🙂

    #114059 quote
    GraHal
    Participant
    Master

    @ullle73 … let us know how you get on please?

    btw …  I often copy and paste text from library posts into google translator to get english or whatever language.

    Or when using Chrome browser,  right click and choose language from and to (under Options) and chrome will translate.
    Reason you have to choose language from and to is that library posts can contain several languages.

    #114088 quote
    ullle73
    Participant
    Senior

    sorry, i dont get it right. Could you Nicolas change in the code how to get it right? 🙂

     

    //PRC_Scalper Indices | indicator
    //14.11.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //translated from MQL4 code
    
    TODFromHour = 080000 //time of the day
    TODToHour = 200000 //time of the day
    
    inTimeInterval = time>=TODFromHour and time<TODToHour
    
    //short term stochastic
    sto = stochastic[5,3]
    //long term stochastic
    stol = stochastic[233,1]
    
    ma100 = average[100,2](close)
    ma50 = average[50,2](close)
    
    //atr = averagetruerange[14]
    if inTimeInterval and barindex>233 then
    
    if stol>52.01 and sto<10.1 and close>MA100 and close>MA50 then
    BUY 1 CONTRACT AT MARKET
    endif
    if stol<52.01 and sto>89.9 and close<MA100 and close<MA50 then
    sell 1 CONTRACT AT MARKET
    
    endif
    endif
    
    SET STOP PLOSS 50
    SET TARGET PPROFIT 50
    

     

    i only want to enter when the indicator drawed the arrows, and want to have a 50 point target and 50 SL

    #114090 quote
    GraHal
    Participant
    Master

    Hey don’t get disheartened @ullle73 … you did good … it has potential!  Good equity curve and good stats!?

    All I did was change line 6 and 15 … see attached .itf.  Plenty more scope for improvements?

    I will look at it again tomorrow, off to bed  now! 🙂

    EDIT / PS

    I just noticed … it needs to be Sell at Market (not Sell 3 shares at Market) as PRT doesn’t  allow partial closures.

    ullle73 thanked this post
    Ull.jpg Ull.jpg Ull-2.jpg Ull-2.jpg Ull-Nics-Scalp-DAX-1M-v1.itf
    #114094 quote
    ullle73
    Participant
    Senior

    thanks!! changed to sellshort at market. Let me know if you find something else to optimize it 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

pro system from NICs "scalping index indicator"


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
ullle73 @jonas_rydqvist Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by ullle73
6 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/01/2019
Status: Active
Attachments: 3 files
Logo Logo
Loading...