code for volume bars into normal price chart

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #108495 quote
    rama
    Participant
    Senior

    I want to run the programs in time frame 1 min or less

    my variable will be volume example in this case volume=900

    I want to buy at lowest of 4 bars in the volumes chart as per the picture( as the program does not run in volume chart)

    I wan help in the code

    I wrote the following code seems to not work

     

    c2=volume
    c1=(c2=900)
    
    c5=lowest[4](c1)
    
    if c5  then
    k1=1
    else
    k1=0
    endif
    
    return k1
    volume.png volume.png
    #108509 quote
    Nicolas
    Keymaster
    Master

    You want to identify the bar that has the lowest volume in the last 4 ones? What is 900 and why?

    #109463 quote
    rama
    Participant
    Senior

    Basically

    on a volume chart I want place orders as per the screen shot, Screen shot is 5432 volume chart on dow.

    if it was normal candle stick of any time frame  would place an order at buy at  lowest[n](low)+x stop

    however this is not possible on volume on chart  hence I need equivalent code on time chats.

    I would like to place this orders on time frame 2 seconds

    my variable will be volume =5432

    #109490 quote
    Nicolas
    Keymaster
    Master

    So you want to simulate Volume bars on a normal price chart? Because we can’t use Volume chart with ProOrder? Quite challenging..

    #109570 quote
    rama
    Participant
    Senior

    yes , that is correct I want to simulate the volume bars on normal price chart also I should be place an order as well

    example

    volume=5300

    c1=volume

    buy at lowest[3](c1)

     

    my by should happen in time frame 2 seconds( it is easy for me to move to break even at the earliest in 2 sec, 2 second time frame works perfect, 1 second sometimes stopping )

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

code for volume bars into normal price chart


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
rama @rama Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by rama
6 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/26/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...